Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index 4b044de..0295519 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h | |||
@@ -10,48 +10,49 @@ | |||
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
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 <qpixmap.h> | 22 | #include <qpixmap.h> |
23 | 23 | ||
24 | class DataManager; | 24 | class DataManager; |
25 | class InstallData; | 25 | class InstallData; |
26 | class InstallDlgImpl; | 26 | class InstallDlgImpl; |
27 | 27 | ||
28 | class QAction; | 28 | class QAction; |
29 | class QCheckListItem; | 29 | class QCheckListItem; |
30 | class QComboBox; | 30 | class QComboBox; |
31 | class QLabel; | 31 | class QLabel; |
32 | class QLineEdit; | 32 | class QLineEdit; |
33 | class QListView; | 33 | class QListView; |
34 | class QListViewItem; | ||
34 | class QToolBar; | 35 | class QToolBar; |
35 | class QProgressBar; | 36 | class QProgressBar; |
36 | class QWidgetStack; | 37 | class QWidgetStack; |
37 | 38 | ||
38 | class MainWindow :public QMainWindow | 39 | class MainWindow :public QMainWindow |
39 | { | 40 | { |
40 | Q_OBJECT | 41 | Q_OBJECT |
41 | public: | 42 | public: |
42 | 43 | ||
43 | MainWindow(); | 44 | MainWindow(); |
44 | ~MainWindow(); | 45 | ~MainWindow(); |
45 | 46 | ||
46 | protected: | 47 | protected: |
47 | void closeEvent( QCloseEvent* e ); | 48 | void closeEvent( QCloseEvent* e ); |
48 | 49 | ||
49 | private: | 50 | private: |
50 | DataManager *mgr; | 51 | DataManager *mgr; |
51 | 52 | ||
52 | QWidgetStack *stack; | 53 | QWidgetStack *stack; |
53 | 54 | ||
54 | QToolBar *findBar; | 55 | QToolBar *findBar; |
55 | QToolBar *jumpBar; | 56 | QToolBar *jumpBar; |
56 | QLineEdit *findEdit; | 57 | QLineEdit *findEdit; |
57 | QAction *actionFindNext; | 58 | QAction *actionFindNext; |
@@ -114,26 +115,27 @@ public slots: | |||
114 | void hideJumpBar(); | 115 | void hideJumpBar(); |
115 | void displaySettings(); | 116 | void displaySettings(); |
116 | void filterUninstalledPackages(); | 117 | void filterUninstalledPackages(); |
117 | void filterInstalledPackages(); | 118 | void filterInstalledPackages(); |
118 | void filterUpgradedPackages(); | 119 | void filterUpgradedPackages(); |
119 | void filterCategory(); | 120 | void filterCategory(); |
120 | bool setFilterCategory(); | 121 | bool setFilterCategory(); |
121 | void raiseMainWidget(); | 122 | void raiseMainWidget(); |
122 | void raiseProgressWidget(); | 123 | void raiseProgressWidget(); |
123 | void enableUpgrade( bool ); | 124 | void enableUpgrade( bool ); |
124 | void enableDownload( bool ); | 125 | void enableDownload( bool ); |
125 | void reloadData( InstallDlgImpl * ); | 126 | void reloadData( InstallDlgImpl * ); |
126 | 127 | ||
127 | private slots: | 128 | private slots: |
128 | void init(); | 129 | void init(); |
129 | void setProgressSteps( int ); | 130 | void setProgressSteps( int ); |
130 | void setProgressMessage( const QString & ); | 131 | void setProgressMessage( const QString & ); |
131 | void updateProgress( int ); | 132 | void updateProgress( int ); |
132 | void serverSelected( int index ); | 133 | void serverSelected( int index ); |
133 | void updateServer(); | 134 | void updateServer(); |
134 | void upgradePackages(); | 135 | void upgradePackages(); |
135 | void downloadPackage(); | 136 | void downloadPackage(); |
136 | void applyChanges(); | 137 | void applyChanges(); |
137 | void letterPushed( QString t ); | 138 | void letterPushed( QString t ); |
139 | void slotDisplayPackage( QListViewItem * ); | ||
138 | }; | 140 | }; |
139 | #endif | 141 | #endif |