summaryrefslogtreecommitdiff
path: root/noncore
authorandyq <andyq>2002-10-16 18:58:08 (UTC)
committer andyq <andyq>2002-10-16 18:58:08 (UTC)
commit7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d (patch) (unidiff)
tree1a27d0aae741855f5c26aa2c360509e3d899723e /noncore
parent2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad (diff)
downloadopie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.zip
opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.tar.gz
opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.tar.bz2
Added new constructor for upgrading all packages
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/installdlgimpl.h2
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
@@ -26,12 +26,13 @@ using namespace std;
26#include "install.h" 26#include "install.h"
27 27
28class InstallDlgImpl : public InstallDlg 28class InstallDlgImpl : public InstallDlg
29{ 29{
30public: 30public:
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
37protected: 38protected:
@@ -40,12 +41,13 @@ 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 );