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.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h
index e6486ff..8718f49 100644
--- a/noncore/unsupported/oipkg/pmipkg.h
+++ b/noncore/unsupported/oipkg/pmipkg.h
@@ -10,28 +10,27 @@
10#include "packagelist.h" 10#include "packagelist.h"
11#include "debug.h" 11#include "debug.h"
12 12
13//#define DIA
14 13
15#include <qpe/qcopenvelope_qws.h>
16 14
17
18//class PmIpkg : public RunWindow
19class PmIpkg : public QObject 15class PmIpkg : public QObject
20{ 16{
21 Q_OBJECT 17 Q_OBJECT
22public: 18public:
23 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 );
24 //PmIpkg( QObject*, PackageManagerSettings* );
25 ~PmIpkg(); 20 ~PmIpkg();
26 21
27 void commit( PackageList ); 22 void commit( PackageList );
28 void update(); 23 void update();
29 PackageList* getPackageList(); 24 PackageList* getPackageList();
25 void showButtons(bool b=true);
26 void show( bool buttons=true );
30 27
31private: 28private:
32 PackageManagerSettings* settings; 29 PackageManagerSettings* settings;
33 RunWindow *runwindow; 30 RunWindow *runwindow;
34 QCopChannel *linkDest; 31 QStringList to_remove;
32 QStringList to_install;
33 bool runwindowopen;
35 34
36 void makeLinks(QString); 35 void makeLinks(QString);
37 void processLinkDir( QString, QString ); 36 void processLinkDir( QString, QString );
@@ -40,6 +39,9 @@ private:
40 void out( QString ); 39 void out( QString );
41 40
42public slots: 41public slots:
42 void doIt();
43 void install();
44 void remove();
43 void linkDestination( const QString, const QByteArray ); 45 void linkDestination( const QString, const QByteArray );
44}; 46};
45 47