diff options
author | Simon Rettberg | 2015-11-12 17:03:11 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-11-12 17:03:11 +0100 |
commit | 1c49173c8f62d3b9e609d22a027a42376db5d3de (patch) | |
tree | 2e5559d0435aa5ff784ee58e7dbcc8524a048984 /src/dialog.h | |
parent | Add images for win2k, winxp, win8 (diff) | |
download | vmchooser2-1c49173c8f62d3b9e609d22a027a42376db5d3de.tar.gz vmchooser2-1c49173c8f62d3b9e609d22a027a42376db5d3de.tar.xz vmchooser2-1c49173c8f62d3b9e609d22a027a42376db5d3de.zip |
Start refactoring download helpers and icon management
Diffstat (limited to 'src/dialog.h')
-rw-r--r-- | src/dialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |