summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/mainwin.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h
index 39799f9..028ef5b 100644
--- a/noncore/settings/aqpkg/mainwin.h
+++ b/noncore/settings/aqpkg/mainwin.h
@@ -19,8 +19,12 @@
19#define MAINWIN_H 19#define MAINWIN_H
20 20
21#include <qmainwindow.h> 21#include <qmainwindow.h>
22#include <qwidgetstack.h> 22#include <qpixmap.h>
23//#include <qwidgetstack.h>
23 24
25class QWidgetStack;
26class QPEToolBar;
27class QAction;
24class ProgressWidget; 28class ProgressWidget;
25class NetworkPackageManager; 29class NetworkPackageManager;
26class DataManager; 30class DataManager;
@@ -30,7 +34,7 @@ class MainWindow :public QMainWindow
30 Q_OBJECT 34 Q_OBJECT
31public: 35public:
32 36
33 MainWindow( QWidget *p = 0, char *name = 0 ); 37 MainWindow();
34 ~MainWindow(); 38 ~MainWindow();
35 39
36private: 40private:
@@ -41,8 +45,12 @@ private:
41 QPopupMenu *settings; 45 QPopupMenu *settings;
42 QPopupMenu *edit; 46 QPopupMenu *edit;
43 QPopupMenu *filter; 47 QPopupMenu *filter;
44 QWidgetStack *stack; 48 QWidgetStack *stack;
45 49 QAction *actionUpgrade;
50 QAction *actionDownload;
51 QPixmap iconDownload;
52 QPixmap iconRemove;
53
46 NetworkPackageManager *networkPkgWindow; 54 NetworkPackageManager *networkPkgWindow;
47 ProgressWidget *progressWindow; 55 ProgressWidget *progressWindow;
48 56
@@ -66,6 +74,8 @@ public slots:
66 void setFilterCategory(); 74 void setFilterCategory();
67 void raiseMainWidget(); 75 void raiseMainWidget();
68 void raiseProgressWidget(); 76 void raiseProgressWidget();
77 void enableUpgrade( bool );
78 void enableDownload( bool );
69 79
70private slots: 80private slots:
71 void init(); 81 void init();