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/package.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/package.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/package.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/noncore/unsupported/oipkg/package.h b/noncore/unsupported/oipkg/package.h index cf2af75..6c292ed 100644 --- a/noncore/unsupported/oipkg/package.h +++ b/noncore/unsupported/oipkg/package.h | |||
@@ -10,2 +10,4 @@ | |||
10 | 10 | ||
11 | #include "pksettings.h" | ||
12 | |||
11 | class Package //: public QObject | 13 | class Package //: public QObject |
@@ -14,6 +16,6 @@ class Package //: public QObject | |||
14 | public: | 16 | public: |
15 | Package(); | 17 | Package(PackageManagerSettings *); |
16 | ~Package(); | 18 | ~Package(); |
17 | Package( QStringList ); | 19 | Package( QStringList, PackageManagerSettings * ); |
18 | Package( QString ); | 20 | Package( QString, PackageManagerSettings * ); |
19 | Package( Package* ); | 21 | Package( Package* ); |
@@ -31,4 +33,4 @@ class Package //: public QObject | |||
31 | void setSection( QString ); | 33 | void setSection( QString ); |
32 | QString getSection(); | 34 | QString section(); |
33 | QString getSubSection(); | 35 | QString subSection(); |
34 | QString details(); | 36 | QString details(); |
@@ -37,4 +39,8 @@ class Package //: public QObject | |||
37 | bool toRemove(); | 39 | bool toRemove(); |
38 | /** No descriptions */ | ||
39 | void processed(); | 40 | void processed(); |
41 | QString dest(); | ||
42 | void setDest( QString d ); | ||
43 | void setOn(); | ||
44 | bool link(); | ||
45 | void setLink(bool); | ||
40 | public slots: | 46 | public slots: |
@@ -43,4 +49,6 @@ public slots: | |||
43 | private: | 49 | private: |
50 | PackageManagerSettings *settings; | ||
44 | QString _name; | 51 | QString _name; |
45 | bool _toProcess; | 52 | bool _toProcess; |
53 | bool _link; | ||
46 | QString _status; | 54 | QString _status; |
@@ -51,3 +59,5 @@ private: | |||
51 | QString _desc; | 59 | QString _desc; |
60 | QString _dest; | ||
52 | void parsePackage( QStringList ); | 61 | void parsePackage( QStringList ); |
62 | void init(PackageManagerSettings *); | ||
53 | }; | 63 | }; |