author | tille <tille> | 2002-04-27 13:06:45 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-27 13:06:45 (UTC) |
commit | db90999f6298c1107888f062f2c25cb8817b528a (patch) (unidiff) | |
tree | 020ebe65beb9286f3c63e4329fc3a0f298d34460 /noncore/unsupported/oipkg/pmipkg.h | |
parent | e2f3288d468508f2cf7c0a327044963ca4b1b54a (diff) | |
download | opie-db90999f6298c1107888f062f2c25cb8817b528a.zip opie-db90999f6298c1107888f062f2c25cb8817b528a.tar.gz opie-db90999f6298c1107888f062f2c25cb8817b528a.tar.bz2 |
added popup menu to choose inst dest (and more...)
Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h index 2692017..c57adb7 100644 --- a/noncore/unsupported/oipkg/pmipkg.h +++ b/noncore/unsupported/oipkg/pmipkg.h | |||
@@ -8,13 +8,12 @@ | |||
8 | #include <qwidget.h> | 8 | #include <qwidget.h> |
9 | #include "pksettings.h" | 9 | #include "pksettings.h" |
10 | #include "runwindow.h" | 10 | #include "runwindow.h" |
11 | #include "packagelist.h" | 11 | #include "packagelist.h" |
12 | #include "debug.h" | 12 | #include "debug.h" |
13 | 13 | ||
14 | //#define NEWLIST | ||
15 | class Package; | 14 | class Package; |
16 | class PmIpkg : public QObject | 15 | class PmIpkg : public QObject |
17 | { | 16 | { |
18 | Q_OBJECT | 17 | Q_OBJECT |
19 | public: | 18 | public: |
20 | 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 ); |
@@ -26,26 +25,19 @@ public: | |||
26 | void showButtons(bool b=true); | 25 | void showButtons(bool b=true); |
27 | void show( bool buttons=true ); | 26 | void show( bool buttons=true ); |
28 | 27 | ||
29 | private: | 28 | private: |
30 | PackageManagerSettings* settings; | 29 | PackageManagerSettings* settings; |
31 | RunWindow *runwindow; | 30 | RunWindow *runwindow; |
32 | #ifndef NEWLIST | ||
33 | QStringList to_remove; | ||
34 | QStringList to_install; | ||
35 | #endif | ||
36 | #ifdef NEWLIST | ||
37 | QList<Package> to_remove; | 31 | QList<Package> to_remove; |
38 | QList<Package> to_install; | 32 | QList<Package> to_install; |
39 | #endif | ||
40 | bool runwindowopen; | 33 | bool runwindowopen; |
41 | 34 | ||
42 | void makeLinks(QString); | 35 | void makeLinks(Package*); |
43 | void processLinkDir( QString, QString ); | 36 | void processLinkDir( QString, QString ); |
44 | 37 | int runIpkg(const QString& args, const QString& dest="" ); | |
45 | int runIpkg(const QString& args); | ||
46 | void out( QString ); | 38 | void out( QString ); |
47 | 39 | ||
48 | public slots: | 40 | public slots: |
49 | void doIt(); | 41 | void doIt(); |
50 | void install(); | 42 | void install(); |
51 | void remove(); | 43 | void remove(); |