Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index 615ff8b..b8e1c98 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h | |||
@@ -22,69 +22,70 @@ | |||
22 | -. .:....=;==+<; General Public License along with this file; | 22 | -. .:....=;==+<; General Public License along with this file; |
23 | -_. . . )=. = see the file COPYING. If not, write to the | 23 | -_. . . )=. = see the file COPYING. If not, write to the |
24 | -- :-=` Free Software Foundation, Inc., | 24 | -- :-=` Free Software Foundation, Inc., |
25 | 59 Temple Place - Suite 330, | 25 | 59 Temple Place - Suite 330, |
26 | Boston, MA 02111-1307, USA. | 26 | Boston, MA 02111-1307, USA. |
27 | 27 | ||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifndef MAINWIN_H | 30 | #ifndef MAINWIN_H |
31 | #define MAINWIN_H | 31 | #define MAINWIN_H |
32 | 32 | ||
33 | #include <qmainwindow.h> | 33 | #include <qmainwindow.h> |
34 | #include <qpixmap.h> | 34 | #include <qpixmap.h> |
35 | 35 | ||
36 | class DataManager; | 36 | class DataManager; |
37 | class InstallData; | 37 | class InstallData; |
38 | class InstallDlgImpl; | 38 | class InstallDlgImpl; |
39 | 39 | ||
40 | class QAction; | 40 | class QAction; |
41 | class QCheckListItem; | 41 | class QCheckListItem; |
42 | class QComboBox; | 42 | class QComboBox; |
43 | class QLabel; | 43 | class QLabel; |
44 | class QLineEdit; | 44 | class QLineEdit; |
45 | class QListView; | 45 | class QListView; |
46 | class QListViewItem; | 46 | class QListViewItem; |
47 | class QToolBar; | 47 | class QToolBar; |
48 | class QProgressBar; | 48 | class QProgressBar; |
49 | class QPushButton; | 49 | class QPushButton; |
50 | class QWidgetStack; | 50 | class QWidgetStack; |
51 | 51 | ||
52 | class MainWindow :public QMainWindow | 52 | class MainWindow :public QMainWindow |
53 | { | 53 | { |
54 | Q_OBJECT | 54 | Q_OBJECT |
55 | public: | 55 | public: |
56 | 56 | ||
57 | MainWindow(); | 57 | MainWindow( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
58 | ~MainWindow(); | 58 | ~MainWindow(); |
59 | static QString appName() { return QString::fromLatin1( "aqpkg" ); }; | ||
59 | 60 | ||
60 | protected: | 61 | protected: |
61 | void closeEvent( QCloseEvent* e ); | 62 | void closeEvent( QCloseEvent* e ); |
62 | 63 | ||
63 | private: | 64 | private: |
64 | DataManager *mgr; | 65 | DataManager *mgr; |
65 | 66 | ||
66 | QWidgetStack *stack; | 67 | QWidgetStack *stack; |
67 | 68 | ||
68 | QToolBar *findBar; | 69 | QToolBar *findBar; |
69 | QToolBar *jumpBar; | 70 | QToolBar *jumpBar; |
70 | QLineEdit *findEdit; | 71 | QLineEdit *findEdit; |
71 | QAction *actionFindNext; | 72 | QAction *actionFindNext; |
72 | QAction *actionFilter; | 73 | QAction *actionFilter; |
73 | QAction *actionUpgrade; | 74 | QAction *actionUpgrade; |
74 | QAction *actionDownload; | 75 | QAction *actionDownload; |
75 | QAction *actionUninstalled; | 76 | QAction *actionUninstalled; |
76 | QAction *actionInstalled; | 77 | QAction *actionInstalled; |
77 | QAction *actionUpdated; | 78 | QAction *actionUpdated; |
78 | 79 | ||
79 | QPixmap iconDownload; | 80 | QPixmap iconDownload; |
80 | QPixmap iconRemove; | 81 | QPixmap iconRemove; |
81 | 82 | ||
82 | int mnuShowUninstalledPkgsId; | 83 | int mnuShowUninstalledPkgsId; |
83 | int mnuShowInstalledPkgsId; | 84 | int mnuShowInstalledPkgsId; |
84 | int mnuShowUpgradedPkgsId; | 85 | int mnuShowUpgradedPkgsId; |
85 | int mnuFilterByCategory; | 86 | int mnuFilterByCategory; |
86 | int mnuSetFilterCategory; | 87 | int mnuSetFilterCategory; |
87 | 88 | ||
88 | // Main package list widget | 89 | // Main package list widget |
89 | QWidget *networkPkgWindow; | 90 | QWidget *networkPkgWindow; |
90 | QComboBox *serversList; | 91 | QComboBox *serversList; |