summaryrefslogtreecommitdiff
authorleseb <leseb>2002-06-21 09:18:58 (UTC)
committer leseb <leseb>2002-06-21 09:18:58 (UTC)
commitb5c57220c9a7b685418c8e8e0e02906659dd8b47 (patch) (side-by-side diff)
treef92e01b5354d13086bd9dfb2882f9063d18c7537
parent312c3d051c78daaeadc9ec0b3a161e392bcd0030 (diff)
downloadopie-b5c57220c9a7b685418c8e8e0e02906659dd8b47.zip
opie-b5c57220c9a7b685418c8e8e0e02906659dd8b47.tar.gz
opie-b5c57220c9a7b685418c8e8e0e02906659dd8b47.tar.bz2
Missing public attribute
Diffstat (more/less context) (show 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 @@
#ifndef PACKAGELIST_H
#define PACKAGELIST_H
#include <qdict.h>
#include "package.h"
#include "pksettings.h"
#include "debug.h"
-class PackageList :QObject
+class PackageList : public QObject
{
Q_OBJECT
public:
// static QString all = QObject::tr("All");
PackageList (QObject *parent=0, const char *name=0);
PackageList( PackageManagerSettings *s, QObject *parent=0, const char *name=0);
virtual ~PackageList();
void insertPackage( Package* );
Package* find( QString );
Package* next();
Package* first();
QStringList getSections();
QStringList getSubSections();
void setSettings( PackageManagerSettings* );
void filterPackages( QString );
Package* getByName( QString );
void clear();
void allPackages();
QDict<Package> *versions;
public slots:
void setSection(QString);
void setSubSection(QString);
// virtual void update();
protected:
int currentPackage;
int packageCount;
PackageManagerSettings *settings;
QDict<Package> packageList;
QDict<Package> origPackageList;
QDictIterator<Package> packageIter;
bool empty;
QString aktSection;
QString aktSubSection;
QStringList sections;
QDict<QStringList> subSections;
QDict<bool> sectionsDict;
void updateSections( Package* );
void readFileEntries( QString file, QString dest="" );
};
#endif