author | tille <tille> | 2002-04-27 13:06:45 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-27 13:06:45 (UTC) |
commit | db90999f6298c1107888f062f2c25cb8817b528a (patch) (side-by-side diff) | |
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) (show 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 @@ +#include "pksettings.h" + class Package //: public QObject @@ -14,6 +16,6 @@ class Package //: public QObject public: - Package(); + Package(PackageManagerSettings *); ~Package(); - Package( QStringList ); - Package( QString ); + Package( QStringList, PackageManagerSettings * ); + Package( QString, PackageManagerSettings * ); Package( Package* ); @@ -31,4 +33,4 @@ class Package //: public QObject void setSection( QString ); - QString getSection(); - QString getSubSection(); + QString section(); + QString subSection(); QString details(); @@ -37,4 +39,8 @@ class Package //: public QObject bool toRemove(); - /** No descriptions */ void processed(); + QString dest(); + void setDest( QString d ); + void setOn(); + bool link(); + void setLink(bool); public slots: @@ -43,4 +49,6 @@ public slots: private: + PackageManagerSettings *settings; QString _name; bool _toProcess; + bool _link; QString _status; @@ -51,3 +59,5 @@ private: QString _desc; + QString _dest; void parsePackage( QStringList ); + void init(PackageManagerSettings *); }; |