Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 98efaa6..e6486ff 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h | |||
@@ -7,36 +7,40 @@ | |||
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 | ||
13 | 14 | ||
14 | #include <qpe/qcopenvelope_qws.h> | 15 | #include <qpe/qcopenvelope_qws.h> |
15 | 16 | ||
16 | class PmIpkg : public RunWindow | 17 | |
17 | //class PmIpkg : public QObject | 18 | //class PmIpkg : public RunWindow |
19 | class PmIpkg : public QObject | ||
18 | { | 20 | { |
19 | Q_OBJECT | 21 | Q_OBJECT |
20 | public: | 22 | public: |
21 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); | 23 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); |
22 | //PmIpkg( QObject*, PackageManagerSettings* ); | 24 | //PmIpkg( QObject*, PackageManagerSettings* ); |
23 | ~PmIpkg(); | 25 | ~PmIpkg(); |
24 | 26 | ||
27 | void commit( PackageList ); | ||
28 | void update(); | ||
25 | PackageList* getPackageList(); | 29 | PackageList* getPackageList(); |
26 | 30 | ||
27 | private: | 31 | private: |
28 | PackageManagerSettings* settings; | 32 | PackageManagerSettings* settings; |
33 | RunWindow *runwindow; | ||
29 | QCopChannel *linkDest; | 34 | QCopChannel *linkDest; |
30 | void processLinkDir( QString, QString ); | ||
31 | |||
32 | 35 | ||
33 | public: | ||
34 | void makeLinks(QString); | 36 | void makeLinks(QString); |
37 | void processLinkDir( QString, QString ); | ||
38 | |||
35 | int runIpkg(const QString& args); | 39 | int runIpkg(const QString& args); |
36 | void commit( PackageList ); | 40 | void out( QString ); |
37 | 41 | ||
38 | public slots: | 42 | public slots: |
39 | void linkDestination( QString, QString ); | 43 | void linkDestination( const QString, const QByteArray ); |
40 | }; | 44 | }; |
41 | 45 | ||
42 | #endif | 46 | #endif |