summaryrefslogtreecommitdiffstats
path: root/src/dialog.h
diff options
context:
space:
mode:
authorSimon Rettberg2015-11-12 17:03:11 +0100
committerSimon Rettberg2015-11-12 17:03:11 +0100
commit1c49173c8f62d3b9e609d22a027a42376db5d3de (patch)
tree2e5559d0435aa5ff784ee58e7dbcc8524a048984 /src/dialog.h
parentAdd images for win2k, winxp, win8 (diff)
downloadvmchooser2-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.h4
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);