author | tille <tille> | 2002-05-01 15:49:08 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-01 15:49:08 (UTC) |
commit | da94bce203afca412336a7793ff8e58e18d59108 (patch) (unidiff) | |
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 | |||
@@ -32,6 +32,7 @@ class Package //: public QObject | |||
32 | QString desc(); | 32 | QString desc(); |
33 | QString size(); | 33 | QString size(); |
34 | QString sizeUnits(); | 34 | QString sizeUnits(); |
35 | QString version(); | ||
35 | void setSection( QString ); | 36 | void setSection( QString ); |
36 | QString section(); | 37 | QString section(); |
37 | QString subSection(); | 38 | QString subSection(); |
@@ -47,13 +48,13 @@ class Package //: public QObject | |||
47 | void setLink(bool); | 48 | void setLink(bool); |
48 | void parseIpkgFile( QString ); | 49 | void parseIpkgFile( QString ); |
49 | void instalFromFile(bool iff=true); | 50 | void instalFromFile(bool iff=true); |
51 | void setName(QString); | ||
50 | public slots: | 52 | public slots: |
51 | // QString getPackageName(); | ||
52 | void toggleProcess(); | 53 | void toggleProcess(); |
53 | 54 | ||
54 | private: | 55 | private: |
55 | PackageManagerSettings *settings; | 56 | PackageManagerSettings *settings; |
56 | // QString _packageName; | 57 | QString _displayName; |
57 | QString _name; | 58 | QString _name; |
58 | QString _fileName; | 59 | QString _fileName; |
59 | bool _toProcess; | 60 | bool _toProcess; |
@@ -64,7 +65,9 @@ private: | |||
64 | QString _subsection; | 65 | QString _subsection; |
65 | QString _shortDesc; | 66 | QString _shortDesc; |
66 | QString _desc; | 67 | QString _desc; |
68 | QString _version; | ||
67 | QString _dest; | 69 | QString _dest; |
70 | QDict<QString> _values; | ||
68 | bool _useFileName; | 71 | bool _useFileName; |
69 | void parsePackage( QStringList ); | 72 | void parsePackage( QStringList ); |
70 | void init(PackageManagerSettings *); | 73 | void init(PackageManagerSettings *); |