Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h new file mode 100644 index 0000000..98efaa6 --- a/dev/null +++ b/noncore/unsupported/oipkg/pmipkg.h | |||
@@ -0,0 +1,42 @@ | |||
1 | #ifndef PMIPKG_H | ||
2 | #define PMIPKG_H | ||
3 | |||
4 | |||
5 | #include <qobject.h> | ||
6 | #include <qstring.h> | ||
7 | #include <qwidget.h> | ||
8 | #include "pksettings.h" | ||
9 | #include "runwindow.h" | ||
10 | #include "packagelist.h" | ||
11 | #include "debug.h" | ||
12 | |||
13 | |||
14 | #include <qpe/qcopenvelope_qws.h> | ||
15 | |||
16 | class PmIpkg : public RunWindow | ||
17 | //class PmIpkg : public QObject | ||
18 | { | ||
19 | Q_OBJECT | ||
20 | public: | ||
21 | PmIpkg( PackageManagerSettings* , QWidget* p=0, const char * name=0, WFlags f=0 ); | ||
22 | //PmIpkg( QObject*, PackageManagerSettings* ); | ||
23 | ~PmIpkg(); | ||
24 | |||
25 | PackageList* getPackageList(); | ||
26 | |||
27 | private: | ||
28 | PackageManagerSettings* settings; | ||
29 | QCopChannel *linkDest; | ||
30 | void processLinkDir( QString, QString ); | ||
31 | |||
32 | |||
33 | public: | ||
34 | void makeLinks(QString); | ||
35 | int runIpkg(const QString& args); | ||
36 | void commit( PackageList ); | ||
37 | |||
38 | public slots: | ||
39 | void linkDestination( QString, QString ); | ||
40 | }; | ||
41 | |||
42 | #endif | ||