From 0d5a0129ee055e0f077505b05caa942bf6ef6165 Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 21 Jun 2002 09:01:39 +0000 Subject: some fixes and first version with oprocess (out-ifdefed) --- (limited to 'noncore/unsupported/oipkg/packagelist.cpp') diff --git a/noncore/unsupported/oipkg/packagelist.cpp b/noncore/unsupported/oipkg/packagelist.cpp index 1b572e0..3cc0443 100644 --- a/noncore/unsupported/oipkg/packagelist.cpp +++ b/noncore/unsupported/oipkg/packagelist.cpp @@ -10,8 +10,8 @@ static QDict *packageListAll; static int packageListAllRefCount = 0; -PackageList::PackageList() - : packageIter( packageList ) +PackageList::PackageList(QObject *parent=0, const char *name=0) + : QObject(parent,name), packageIter( packageList ) { empty=true; if (!packageListAll) packageListAll = new QDict(); @@ -24,11 +24,11 @@ PackageList::PackageList() aktSubSection = "All"; } -PackageList::PackageList( PackageManagerSettings* s) - : packageIter( packageList ) +PackageList::PackageList( PackageManagerSettings* s, QObject *parent, const char *name) + : QObject(parent,name), packageIter( packageList ) { settings = s; - PackageList(); + PackageList(parent, name); } PackageList::~PackageList() -- cgit v0.9.0.2