Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index 92aba4d..39799f9 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h | |||
@@ -16,17 +16,17 @@ | |||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #ifndef MAINWIN_H | 18 | #ifndef MAINWIN_H |
19 | #define MAINWIN_H | 19 | #define MAINWIN_H |
20 | 20 | ||
21 | #include <qmainwindow.h> | 21 | #include <qmainwindow.h> |
22 | #include <qwidgetstack.h> | 22 | #include <qwidgetstack.h> |
23 | 23 | ||
24 | 24 | class ProgressWidget; | |
25 | class NetworkPackageManager; | 25 | class NetworkPackageManager; |
26 | class DataManager; | 26 | class DataManager; |
27 | 27 | ||
28 | class MainWindow :public QMainWindow | 28 | class MainWindow :public QMainWindow |
29 | { | 29 | { |
30 | Q_OBJECT | 30 | Q_OBJECT |
31 | public: | 31 | public: |
32 | 32 | ||
@@ -39,16 +39,17 @@ private: | |||
39 | QMenuBar *menu; | 39 | QMenuBar *menu; |
40 | QPopupMenu *help; | 40 | QPopupMenu *help; |
41 | QPopupMenu *settings; | 41 | QPopupMenu *settings; |
42 | QPopupMenu *edit; | 42 | QPopupMenu *edit; |
43 | QPopupMenu *filter; | 43 | QPopupMenu *filter; |
44 | QWidgetStack *stack; | 44 | QWidgetStack *stack; |
45 | 45 | ||
46 | NetworkPackageManager *networkPkgWindow; | 46 | NetworkPackageManager *networkPkgWindow; |
47 | ProgressWidget *progressWindow; | ||
47 | 48 | ||
48 | int mnuShowUninstalledPkgsId; | 49 | int mnuShowUninstalledPkgsId; |
49 | int mnuShowInstalledPkgsId; | 50 | int mnuShowInstalledPkgsId; |
50 | int mnuShowUpgradedPkgsId; | 51 | int mnuShowUpgradedPkgsId; |
51 | int mnuFilterByCategory; | 52 | int mnuFilterByCategory; |
52 | int mnuSetFilterCategory; | 53 | int mnuSetFilterCategory; |
53 | 54 | ||
54 | public slots: | 55 | public slots: |
@@ -58,11 +59,15 @@ public slots: | |||
58 | void repeatSearchForPackage(); | 59 | void repeatSearchForPackage(); |
59 | void displayAbout(); | 60 | void displayAbout(); |
60 | void displaySettings(); | 61 | void displaySettings(); |
61 | void filterUninstalledPackages(); | 62 | void filterUninstalledPackages(); |
62 | void filterInstalledPackages(); | 63 | void filterInstalledPackages(); |
63 | void filterUpgradedPackages(); | 64 | void filterUpgradedPackages(); |
64 | void filterCategory(); | 65 | void filterCategory(); |
65 | void setFilterCategory(); | 66 | void setFilterCategory(); |
67 | void raiseMainWidget(); | ||
68 | void raiseProgressWidget(); | ||
66 | 69 | ||
70 | private slots: | ||
71 | void init(); | ||
67 | }; | 72 | }; |
68 | #endif | 73 | #endif |