author | tille <tille> | 2002-05-01 15:49:08 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-01 15:49:08 (UTC) |
commit | da94bce203afca412336a7793ff8e58e18d59108 (patch) (side-by-side diff) | |
tree | 0bc25fd1145459656d8cc7a4897bad51f123daf9 /noncore/unsupported/oipkg/package.h | |
parent | fcc0cee7ae337e8179b8ba4d4b6c46b519129daa (diff) | |
download | opie-da94bce203afca412336a7793ff8e58e18d59108.zip opie-da94bce203afca412336a7793ff8e58e18d59108.tar.gz opie-da94bce203afca412336a7793ff8e58e18d59108.tar.bz2 |
handles different versions of the same package
Diffstat (limited to 'noncore/unsupported/oipkg/package.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/package.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/package.h b/noncore/unsupported/oipkg/package.h index 4618c3a..2ca966d 100644 --- a/noncore/unsupported/oipkg/package.h +++ b/noncore/unsupported/oipkg/package.h @@ -31,8 +31,9 @@ class Package //: public QObject QString shortDesc(); QString desc(); QString size(); QString sizeUnits(); + QString version(); void setSection( QString ); QString section(); QString subSection(); QString details(); @@ -46,15 +47,15 @@ class Package //: public QObject bool link(); void setLink(bool); void parseIpkgFile( QString ); void instalFromFile(bool iff=true); + void setName(QString); public slots: -// QString getPackageName(); void toggleProcess(); private: PackageManagerSettings *settings; -// QString _packageName; + QString _displayName; QString _name; QString _fileName; bool _toProcess; bool _link; @@ -63,9 +64,11 @@ private: QString _section; QString _subsection; QString _shortDesc; QString _desc; + QString _version; QString _dest; + QDict<QString> _values; bool _useFileName; void parsePackage( QStringList ); void init(PackageManagerSettings *); }; |