author | tille <tille> | 2002-04-23 11:16:45 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-23 11:16:45 (UTC) |
commit | a3205d9bf5570af8441ed81cd6d9eeadf22319c9 (patch) (unidiff) | |
tree | e2403e5dcc46906570cb070b852ee83d9a8af0b8 /noncore/unsupported/oipkg/pmipkg.h | |
parent | 7e8db7f310d7a43326337a7960e59d9e313b8534 (diff) | |
download | opie-a3205d9bf5570af8441ed81cd6d9eeadf22319c9.zip opie-a3205d9bf5570af8441ed81cd6d9eeadf22319c9.tar.gz opie-a3205d9bf5570af8441ed81cd6d9eeadf22319c9.tar.bz2 |
... mostly rewritten.
Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (ignore 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 | ||