Diffstat (limited to 'noncore/settings/aqpkg/installdlgimpl.h') (more/less context) (ignore whitespace changes)
-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 | |||
@@ -8,47 +8,49 @@ | |||
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
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 | #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 |