Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 14 |
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 | |||
@@ -7,40 +7,42 @@ | |||
7 | #include <qwidget.h> | 7 | #include <qwidget.h> |
8 | #include "pksettings.h" | 8 | #include "pksettings.h" |
9 | #include "runwindow.h" | 9 | #include "runwindow.h" |
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 | ||
19 | class PmIpkg : public QObject | 15 | class PmIpkg : public QObject |
20 | { | 16 | { |
21 | Q_OBJECT | 17 | Q_OBJECT |
22 | public: | 18 | public: |
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 | ||
31 | private: | 28 | private: |
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 ); |
38 | 37 | ||
39 | int runIpkg(const QString& args); | 38 | int runIpkg(const QString& args); |
40 | void out( QString ); | 39 | void out( QString ); |
41 | 40 | ||
42 | public slots: | 41 | public 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 | ||
46 | #endif | 48 | #endif |