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