summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/pmipkg.h
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/pmipkg.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h
index 8718f49..2692017 100644
--- a/noncore/unsupported/oipkg/pmipkg.h
+++ b/noncore/unsupported/oipkg/pmipkg.h
@@ -1,20 +1,21 @@
1#ifndef PMIPKG_H 1#ifndef PMIPKG_H
2#define PMIPKG_H 2#define PMIPKG_H
3 3
4 4
5#include <qobject.h> 5#include <qobject.h>
6#include <qlist.h>
6#include <qstring.h> 7#include <qstring.h>
7#include <qwidget.h> 8#include <qwidget.h>
8#include "pksettings.h" 9#include "pksettings.h"
9#include "runwindow.h" 10#include "runwindow.h"
10#include "packagelist.h" 11#include "packagelist.h"
11#include "debug.h" 12#include "debug.h"
12 13
13 14//#define NEWLIST
14 15class Package;
15class PmIpkg : public QObject 16class PmIpkg : public QObject
16{ 17{
17 Q_OBJECT 18 Q_OBJECT
18public: 19public:
19 PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); 20 PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 );
20 ~PmIpkg(); 21 ~PmIpkg();
@@ -25,14 +26,20 @@ public:
25 void showButtons(bool b=true); 26 void showButtons(bool b=true);
26 void show( bool buttons=true ); 27 void show( bool buttons=true );
27 28
28private: 29private:
29 PackageManagerSettings* settings; 30 PackageManagerSettings* settings;
30 RunWindow *runwindow; 31 RunWindow *runwindow;
32#ifndef NEWLIST
31 QStringList to_remove; 33 QStringList to_remove;
32 QStringList to_install; 34 QStringList to_install;
35#endif
36#ifdef NEWLIST
37 QList<Package> to_remove;
38 QList<Package> to_install;
39#endif
33 bool runwindowopen; 40 bool runwindowopen;
34 41
35 void makeLinks(QString); 42 void makeLinks(QString);
36 void processLinkDir( QString, QString ); 43 void processLinkDir( QString, QString );
37 44
38 int runIpkg(const QString& args); 45 int runIpkg(const QString& args);