author | andyq <andyq> | 2002-10-16 18:58:08 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-10-16 18:58:08 (UTC) |
commit | 7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d (patch) (unidiff) | |
tree | 1a27d0aae741855f5c26aa2c360509e3d899723e | |
parent | 2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad (diff) | |
download | opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.zip opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.tar.gz opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.tar.bz2 |
Added new constructor for upgrading all packages
-rw-r--r-- | noncore/settings/aqpkg/installdlgimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/installdlgimpl.h b/noncore/settings/aqpkg/installdlgimpl.h index 195616d..8b05c52 100644 --- a/noncore/settings/aqpkg/installdlgimpl.h +++ b/noncore/settings/aqpkg/installdlgimpl.h | |||
@@ -16,39 +16,41 @@ | |||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #ifndef INSTALLDLGIMPL_H | 17 | #ifndef INSTALLDLGIMPL_H |
18 | #define INSTALLDLGIMPL_H | 18 | #define INSTALLDLGIMPL_H |
19 | 19 | ||
20 | #include <vector> | 20 | #include <vector> |
21 | using namespace std; | 21 | using namespace std; |
22 | 22 | ||
23 | #include <qstring.h> | 23 | #include <qstring.h> |
24 | 24 | ||
25 | #include "ipkg.h" | 25 | #include "ipkg.h" |
26 | #include "install.h" | 26 | #include "install.h" |
27 | 27 | ||
28 | class InstallDlgImpl : public InstallDlg | 28 | class InstallDlgImpl : public InstallDlg |
29 | { | 29 | { |
30 | public: | 30 | public: |
31 | InstallDlgImpl( vector<QString> &packageList, DataManager *dataManager, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); | 31 | InstallDlgImpl( vector<QString> &packageList, DataManager *dataManager, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); |
32 | InstallDlgImpl( QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); | ||
32 | ~InstallDlgImpl(); | 33 | ~InstallDlgImpl(); |
33 | 34 | ||
34 | bool showDlg(); | 35 | bool showDlg(); |
35 | bool upgradeServer( QString &server ); | 36 | bool upgradeServer( QString &server ); |
36 | 37 | ||
37 | protected: | 38 | protected: |
38 | 39 | ||
39 | private: | 40 | private: |
40 | DataManager *dataMgr; | 41 | DataManager *dataMgr; |
41 | vector<QString> installList; | 42 | vector<QString> installList; |
42 | vector<QString> removeList; | 43 | vector<QString> removeList; |
43 | vector<QString> updateList; | 44 | vector<QString> updateList; |
44 | int flags; | 45 | int flags; |
45 | Ipkg ipkg; | 46 | Ipkg ipkg; |
47 | bool upgradePackages; | ||
46 | 48 | ||
47 | bool runIpkg( QString &option, const QString& package, const QString& dest, int flags ); | 49 | bool runIpkg( QString &option, const QString& package, const QString& dest, int flags ); |
48 | 50 | ||
49 | void optionsSelected(); | 51 | void optionsSelected(); |
50 | void installSelected(); | 52 | void installSelected(); |
51 | void displayText(const QString &text ); | 53 | void displayText(const QString &text ); |
52 | }; | 54 | }; |
53 | 55 | ||
54 | #endif | 56 | #endif |