From 1c49173c8f62d3b9e609d22a027a42376db5d3de Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 12 Nov 2015 17:03:11 +0100 Subject: Start refactoring download helpers and icon management --- src/dialog.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dialog.h') diff --git a/src/dialog.h b/src/dialog.h index 0f45466..59d2e48 100644 --- a/src/dialog.h +++ b/src/dialog.h @@ -10,6 +10,7 @@ #include "session.h" #include "sessiontreemodel.h" +#include "sessionsiconholder.h" namespace Ui { class Dialog; @@ -50,6 +51,7 @@ class Dialog : public QDialog { void onTabButtonChanged(int tab); void configClearButton(); void setListModel(QAbstractItemModel *model); + void keyPressEvent(QKeyEvent * e); private slots: void on_pushButtonStart_clicked(); @@ -62,7 +64,7 @@ class Dialog : public QDialog { void treeView_selectionChanged(const QModelIndex& current, const QModelIndex&); void on_helpNewsButton_clicked(); void onCenterTimer(); - void keyPressEvent(QKeyEvent * e); + void iconDownloaded(const QUrl& url, const QIcon& icon); public slots: void addSessionsAfterDownload(QNetworkReply* reply); -- cgit v1.2.3-55-g7522