Diffstat (limited to 'noncore/unsupported/oipkg/packagelist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelist.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.h b/noncore/unsupported/oipkg/packagelist.h index 68b89f0..4ce97af 100644 --- a/noncore/unsupported/oipkg/packagelist.h +++ b/noncore/unsupported/oipkg/packagelist.h | |||
@@ -11,26 +11,29 @@ | |||
11 | static QString listsDir="/usr/lib/ipkg/"; | 11 | static QString listsDir="/usr/lib/ipkg/"; |
12 | static QString statusDir="/usr/lib/ipkg/"; | 12 | static QString statusDir="/usr/lib/ipkg/"; |
13 | #endif | 13 | #endif |
14 | 14 | ||
15 | class PackageList { | 15 | class PackageList { |
16 | public: | 16 | public: |
17 | //static QString all = QObject::tr("All"); | ||
18 | |||
17 | PackageList(); | 19 | PackageList(); |
18 | PackageList( PackageManagerSettings* ); | 20 | PackageList( PackageManagerSettings* ); |
19 | ~PackageList(); | 21 | ~PackageList(); |
20 | void insertPackage( Package* ); | 22 | void insertPackage( Package* ); |
21 | Package* find( QString ); | 23 | Package* find( QString ); |
22 | Package* next(); | 24 | Package* next(); |
23 | Package* first(); | 25 | Package* first(); |
24 | 26 | ||
25 | QStringList getSections(); | 27 | QStringList getSections(); |
26 | QStringList getSubSections(); | 28 | QStringList getSubSections(); |
27 | void setSettings( PackageManagerSettings* ); | 29 | void setSettings( PackageManagerSettings* ); |
28 | void filterPackages(); | 30 | void filterPackages( QString ); |
29 | /** No descriptions */ | ||
30 | Package* getByName( QString ); | 31 | Package* getByName( QString ); |
32 | /** No descriptions */ | ||
33 | void clear(); | ||
31 | 34 | ||
32 | public slots: | 35 | public slots: |
33 | void setSection(QString); | 36 | void setSection(QString); |
34 | void setSubSection(QString); | 37 | void setSubSection(QString); |
35 | void update(); | 38 | void update(); |
36 | 39 | ||