summaryrefslogtreecommitdiff
authorandyq <andyq>2002-10-16 18:58:08 (UTC)
committer andyq <andyq>2002-10-16 18:58:08 (UTC)
commit7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d (patch) (side-by-side diff)
tree1a27d0aae741855f5c26aa2c360509e3d899723e
parent2e08c9a7d3dfffc9249ddc4aef9ad9b01e254dad (diff)
downloadopie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.zip
opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.tar.gz
opie-7569cbeec99b6bfcf960cfa1941e7d43bfb93a4d.tar.bz2
Added new constructor for upgrading all packages
Diffstat (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
@@ -8,47 +8,49 @@
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef INSTALLDLGIMPL_H
#define INSTALLDLGIMPL_H
#include <vector>
using namespace std;
#include <qstring.h>
#include "ipkg.h"
#include "install.h"
class InstallDlgImpl : public InstallDlg
{
public:
InstallDlgImpl( vector<QString> &packageList, DataManager *dataManager, QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
+ InstallDlgImpl( QWidget * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~InstallDlgImpl();
bool showDlg();
bool upgradeServer( QString &server );
protected:
private:
DataManager *dataMgr;
vector<QString> installList;
vector<QString> removeList;
vector<QString> updateList;
int flags;
Ipkg ipkg;
+ bool upgradePackages;
bool runIpkg( QString &option, const QString& package, const QString& dest, int flags );
void optionsSelected();
void installSelected();
void displayText(const QString &text );
};
#endif