summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelist.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelist.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelist.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.cpp b/noncore/unsupported/oipkg/packagelist.cpp
index edb9cc5..5f79ec1 100644
--- a/noncore/unsupported/oipkg/packagelist.cpp
+++ b/noncore/unsupported/oipkg/packagelist.cpp
@@ -18,3 +18,3 @@
-static QDict<Package> *packageListAll;
+static QDict<OipkgPackage> *packageListAll;
static int packageListAllRefCount = 0;
@@ -25,3 +25,3 @@ PackageList::PackageList(QObject *parent, const char *name)
empty=true;
- if (!packageListAll) packageListAll = new QDict<Package>();
+ if (!packageListAll) packageListAll = new QDict<OipkgPackage>();
packageListAllRefCount++;
@@ -48,6 +48,6 @@ PackageList::~PackageList()
/** Inserts a package into the list */
-void PackageList::insertPackage( Package* pack )
+void PackageList::insertPackage( OipkgPackage* pack )
{
if (!pack) return;
- Package* p = packageListAll->find( pack->name() );
+ OipkgPackage* p = packageListAll->find( pack->name() );
if ( p )
@@ -62,3 +62,3 @@ void PackageList::insertPackage( Package* pack )
} else {
- QDict<Package> *packver = p->getOtherVersions();
+ QDict<OipkgPackage> *packver = p->getOtherVersions();
// p->setName( pack->name()+"["+p->version()+"]" );
@@ -66,3 +66,3 @@ void PackageList::insertPackage( Package* pack )
{
- packver = new QDict<Package>();
+ packver = new QDict<OipkgPackage>();
packver->insert( pack->name(), p );
@@ -89,5 +89,5 @@ void PackageList::filterPackages( QString f )
packageList.clear();
- QDictIterator<Package> filterIter( origPackageList );
+ QDictIterator<OipkgPackage> filterIter( origPackageList );
filterIter.toFirst();
- Package *pack= filterIter.current() ;
+ OipkgPackage *pack= filterIter.current() ;
while ( pack )
@@ -107,3 +107,3 @@ void PackageList::filterPackages( QString f )
-Package* PackageList::find( QString n )
+OipkgPackage* PackageList::find( QString n )
{
@@ -112,3 +112,3 @@ Package* PackageList::find( QString n )
-Package* PackageList::first()
+OipkgPackage* PackageList::first()
{
@@ -118,3 +118,3 @@ Package* PackageList::first()
-Package* PackageList::next()
+OipkgPackage* PackageList::next()
{
@@ -149,3 +149,3 @@ void PackageList::setSubSection( QString ssec )
-void PackageList::updateSections( Package* pack )
+void PackageList::updateSections( OipkgPackage* pack )
{
@@ -184,3 +184,3 @@ void PackageList::readFileEntries( QString filename, QString dest )
{
- Package *p = new Package( packEntry, settings );
+ OipkgPackage *p = new OipkgPackage( packEntry, settings );
if ( p )
@@ -199,3 +199,3 @@ void PackageList::readFileEntries( QString filename, QString dest )
{
- Package *p = new Package( packEntry, settings );
+ OipkgPackage *p = new OipkgPackage( packEntry, settings );
if ( p )
@@ -216,3 +216,3 @@ void PackageList::setSettings( PackageManagerSettings *s )
-Package* PackageList::getByName( QString n )
+OipkgPackage* PackageList::getByName( QString n )
{
@@ -230,5 +230,5 @@ void PackageList::allPackages()
packageList.clear();
- QDictIterator<Package> filterIter( origPackageList );
+ QDictIterator<OipkgPackage> filterIter( origPackageList );
filterIter.toFirst();
- Package *pack= filterIter.current() ;
+ OipkgPackage *pack= filterIter.current() ;
while ( pack )