summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/mainwin.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.h2
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
24class DataManager; 24class DataManager;
25class InstallData; 25class InstallData;
26class InstallDlgImpl; 26class InstallDlgImpl;
27 27
28class QAction; 28class QAction;
29class QCheckListItem; 29class QCheckListItem;
30class QComboBox; 30class QComboBox;
31class QLabel; 31class QLabel;
32class QLineEdit; 32class QLineEdit;
33class QListView; 33class QListView;
34class QListViewItem;
34class QToolBar; 35class QToolBar;
35class QProgressBar; 36class QProgressBar;
36class QWidgetStack; 37class QWidgetStack;
37 38
38class MainWindow :public QMainWindow 39class MainWindow :public QMainWindow
39{ 40{
40 Q_OBJECT 41 Q_OBJECT
41public: 42public:
42 43
43 MainWindow(); 44 MainWindow();
44 ~MainWindow(); 45 ~MainWindow();
45 46
46protected: 47protected:
47 void closeEvent( QCloseEvent* e ); 48 void closeEvent( QCloseEvent* e );
48 49
49private: 50private:
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
127private slots: 128private 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