summaryrefslogtreecommitdiff
authorleseb <leseb>2002-06-21 09:18:58 (UTC)
committer leseb <leseb>2002-06-21 09:18:58 (UTC)
commitb5c57220c9a7b685418c8e8e0e02906659dd8b47 (patch) (unidiff)
treef92e01b5354d13086bd9dfb2882f9063d18c7537
parent312c3d051c78daaeadc9ec0b3a161e392bcd0030 (diff)
downloadopie-b5c57220c9a7b685418c8e8e0e02906659dd8b47.zip
opie-b5c57220c9a7b685418c8e8e0e02906659dd8b47.tar.gz
opie-b5c57220c9a7b685418c8e8e0e02906659dd8b47.tar.bz2
Missing public attribute
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.h b/noncore/unsupported/oipkg/packagelist.h
index 78dcd92..46a00e9 100644
--- a/noncore/unsupported/oipkg/packagelist.h
+++ b/noncore/unsupported/oipkg/packagelist.h
@@ -1,60 +1,60 @@
1#ifndef PACKAGELIST_H 1#ifndef PACKAGELIST_H
2#define PACKAGELIST_H 2#define PACKAGELIST_H
3 3
4#include <qdict.h> 4#include <qdict.h>
5#include "package.h" 5#include "package.h"
6#include "pksettings.h" 6#include "pksettings.h"
7#include "debug.h" 7#include "debug.h"
8 8
9class PackageList :QObject 9class PackageList : public QObject
10{ 10{
11 Q_OBJECT 11 Q_OBJECT
12public: 12public:
13 //static QString all = QObject::tr("All"); 13 //static QString all = QObject::tr("All");
14 14
15 PackageList (QObject *parent=0, const char *name=0); 15 PackageList (QObject *parent=0, const char *name=0);
16 PackageList( PackageManagerSettings *s, QObject *parent=0, const char *name=0); 16 PackageList( PackageManagerSettings *s, QObject *parent=0, const char *name=0);
17 virtual ~PackageList(); 17 virtual ~PackageList();
18 void insertPackage( Package* ); 18 void insertPackage( Package* );
19 Package* find( QString ); 19 Package* find( QString );
20 Package* next(); 20 Package* next();
21 Package* first(); 21 Package* first();
22 22
23 QStringList getSections(); 23 QStringList getSections();
24 QStringList getSubSections(); 24 QStringList getSubSections();
25 void setSettings( PackageManagerSettings* ); 25 void setSettings( PackageManagerSettings* );
26 void filterPackages( QString ); 26 void filterPackages( QString );
27 Package* getByName( QString ); 27 Package* getByName( QString );
28 void clear(); 28 void clear();
29 void allPackages(); 29 void allPackages();
30 30
31 QDict<Package> *versions; 31 QDict<Package> *versions;
32 32
33public slots: 33public slots:
34 void setSection(QString); 34 void setSection(QString);
35 void setSubSection(QString); 35 void setSubSection(QString);
36 // virtual void update(); 36 // virtual void update();
37 37
38protected: 38protected:
39 int currentPackage; 39 int currentPackage;
40 int packageCount; 40 int packageCount;
41 41
42 PackageManagerSettings *settings; 42 PackageManagerSettings *settings;
43 QDict<Package> packageList; 43 QDict<Package> packageList;
44 QDict<Package> origPackageList; 44 QDict<Package> origPackageList;
45 QDictIterator<Package> packageIter; 45 QDictIterator<Package> packageIter;
46 46
47 bool empty; 47 bool empty;
48 QString aktSection; 48 QString aktSection;
49 QString aktSubSection; 49 QString aktSubSection;
50 QStringList sections; 50 QStringList sections;
51 QDict<QStringList> subSections; 51 QDict<QStringList> subSections;
52 QDict<bool> sectionsDict; 52 QDict<bool> sectionsDict;
53 53
54 54
55 void updateSections( Package* ); 55 void updateSections( Package* );
56 void readFileEntries( QString file, QString dest="" ); 56 void readFileEntries( QString file, QString dest="" );
57}; 57};
58 58
59 59
60#endif 60#endif