File indexing completed on 2024-04-28 04:57:29
0001 /* This file is part of the KDE project 0002 0003 Copyright (C) 2007 Lukas Appelhans <l.appelhans@gmx.de> 0004 0005 This program is free software; you can redistribute it and/or 0006 modify it under the terms of the GNU General Public 0007 License as published by the Free Software Foundation; either 0008 version 2 of the License, or (at your option) any later version. 0009 */ 0010 0011 #ifndef BTDETAILSWIDGET_H 0012 #define BTDETAILSWIDGET_H 0013 0014 #include "ui_btdetailswidgetfrm.h" 0015 0016 #include <QWidget> 0017 0018 #include "core/transferhandler.h" 0019 0020 class BTTransferHandler; 0021 0022 class QShowEvent; 0023 0024 class BTDetailsWidget : public QWidget, public Ui::BTDetailsWidgetFrm 0025 { 0026 Q_OBJECT 0027 public: 0028 BTDetailsWidget(BTTransferHandler *transfer); 0029 ~BTDetailsWidget() override; 0030 0031 public Q_SLOTS: 0032 void slotTransferChanged(TransferHandler *transfer, TransferHandler::ChangesFlags flags); 0033 0034 protected: 0035 void showEvent(QShowEvent *event) override; 0036 0037 private: 0038 BTTransferHandler *m_transfer; 0039 }; 0040 0041 #endif