author | drw <drw> | 2003-02-01 02:07:22 (UTC) |
---|---|---|
committer | drw <drw> | 2003-02-01 02:07:22 (UTC) |
commit | 766f09a89eef17808e77836f76371aab8ebc4c1c (patch) (unidiff) | |
tree | 3a298c40d5b688dc409a0e6d251a514d88eada48 /noncore/settings/aqpkg/mainwin.h | |
parent | 266feac1ac442947651bf169dbf993c4d46d56ea (diff) | |
download | opie-766f09a89eef17808e77836f76371aab8ebc4c1c.zip opie-766f09a89eef17808e77836f76371aab8ebc4c1c.tar.gz opie-766f09a89eef17808e77836f76371aab8ebc4c1c.tar.bz2 |
Many updates to install dialog
Diffstat (limited to 'noncore/settings/aqpkg/mainwin.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index b49c819..d0777fb 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h | |||
@@ -14,24 +14,25 @@ | |||
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 | 27 | ||
27 | class QAction; | 28 | class QAction; |
28 | class QCheckListItem; | 29 | class QCheckListItem; |
29 | class QComboBox; | 30 | class QComboBox; |
30 | class QLabel; | 31 | class QLabel; |
31 | class QLineEdit; | 32 | class QLineEdit; |
32 | class QListView; | 33 | class QListView; |
33 | class QPEToolBar; | 34 | class QPEToolBar; |
34 | class QProgressBar; | 35 | class QProgressBar; |
35 | class QWidgetStack; | 36 | class QWidgetStack; |
36 | 37 | ||
37 | class MainWindow :public QMainWindow | 38 | class MainWindow :public QMainWindow |
@@ -83,25 +84,24 @@ private: | |||
83 | bool showInstalledPkgs; | 84 | bool showInstalledPkgs; |
84 | bool showUpgradedPkgs; | 85 | bool showUpgradedPkgs; |
85 | bool downloadEnabled; | 86 | bool downloadEnabled; |
86 | 87 | ||
87 | void initMainWidget(); | 88 | void initMainWidget(); |
88 | void updateData(); | 89 | void updateData(); |
89 | void serverSelected( int index, bool showProgress ); | 90 | void serverSelected( int index, bool showProgress ); |
90 | void searchForPackage( const QString & ); | 91 | void searchForPackage( const QString & ); |
91 | bool filterByCategory( bool val ); | 92 | bool filterByCategory( bool val ); |
92 | void downloadSelectedPackages(); | 93 | void downloadSelectedPackages(); |
93 | void downloadRemotePackage(); | 94 | void downloadRemotePackage(); |
94 | InstallData dealWithItem( QCheckListItem *item ); | 95 | InstallData dealWithItem( QCheckListItem *item ); |
95 | void reloadData(); | ||
96 | 96 | ||
97 | // Progress widget | 97 | // Progress widget |
98 | QWidget *progressWindow; | 98 | QWidget *progressWindow; |
99 | QLabel *m_status; | 99 | QLabel *m_status; |
100 | QProgressBar *m_progress; | 100 | QProgressBar *m_progress; |
101 | 101 | ||
102 | void initProgressWidget(); | 102 | void initProgressWidget(); |
103 | 103 | ||
104 | public slots: | 104 | public slots: |
105 | // void setDocument( const QString &doc ); | 105 | // void setDocument( const QString &doc ); |
106 | void displayHelp(); | 106 | void displayHelp(); |
107 | void displayFindBar(); | 107 | void displayFindBar(); |
@@ -112,24 +112,25 @@ public slots: | |||
112 | void hideJumpBar(); | 112 | void hideJumpBar(); |
113 | void displayAbout(); | 113 | void displayAbout(); |
114 | void displaySettings(); | 114 | void displaySettings(); |
115 | void filterUninstalledPackages(); | 115 | void filterUninstalledPackages(); |
116 | void filterInstalledPackages(); | 116 | void filterInstalledPackages(); |
117 | void filterUpgradedPackages(); | 117 | void filterUpgradedPackages(); |
118 | void filterCategory(); | 118 | void filterCategory(); |
119 | bool setFilterCategory(); | 119 | bool setFilterCategory(); |
120 | void raiseMainWidget(); | 120 | void raiseMainWidget(); |
121 | void raiseProgressWidget(); | 121 | void raiseProgressWidget(); |
122 | void enableUpgrade( bool ); | 122 | void enableUpgrade( bool ); |
123 | void enableDownload( bool ); | 123 | void enableDownload( bool ); |
124 | void reloadData( InstallDlgImpl * ); | ||
124 | 125 | ||
125 | private slots: | 126 | private slots: |
126 | void init(); | 127 | void init(); |
127 | void setProgressSteps( int ); | 128 | void setProgressSteps( int ); |
128 | void setProgressMessage( const QString & ); | 129 | void setProgressMessage( const QString & ); |
129 | void updateProgress( int ); | 130 | void updateProgress( int ); |
130 | void serverSelected( int index ); | 131 | void serverSelected( int index ); |
131 | void updateServer(); | 132 | void updateServer(); |
132 | void upgradePackages(); | 133 | void upgradePackages(); |
133 | void downloadPackage(); | 134 | void downloadPackage(); |
134 | void applyChanges(); | 135 | void applyChanges(); |
135 | void letterPushed( QString t ); | 136 | void letterPushed( QString t ); |