diff options
Diffstat (limited to 'Swift/QtUI/QtFileTransferListWidget.h')
-rw-r--r-- | Swift/QtUI/QtFileTransferListWidget.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Swift/QtUI/QtFileTransferListWidget.h b/Swift/QtUI/QtFileTransferListWidget.h index 8adc009..740eb15 100644 --- a/Swift/QtUI/QtFileTransferListWidget.h +++ b/Swift/QtUI/QtFileTransferListWidget.h @@ -4,16 +4,23 @@ * See Documentation/Licenses/BSD-simplified.txt for more information. */ -#pragma once - -#include "Swift/Controllers/UIInterfaces/FileTransferListWidget.h" +/* + * Copyright (c) 2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ -#include "QtTabbable.h" +#pragma once #include <QCloseEvent> +#include <QPushButton> #include <QShowEvent> #include <QTreeView> +#include <Swift/Controllers/UIInterfaces/FileTransferListWidget.h> + +#include <Swift/QtUI/QtTabbable.h> + namespace Swift { class FileTransferOverview; @@ -36,12 +43,17 @@ public: private: virtual void closeEvent(QCloseEvent* event); virtual void showEvent(QShowEvent* event); + void handleFileTransferListChanged(); + +private slots: + void clearInactiveTransfers(); private: QTreeView* treeView; QtFileTransferListItemModel* itemModel; FileTransferOverview* fileTransferOverview; + QPushButton* clearFinished; }; } |