diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-02-09 12:07:31 +0200 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-02-09 12:14:46 +0200 |
commit | 381719b9a0adb8553a041633aed943f5ef48a1ff (patch) | |
tree | 6c5db8b6a7342dee77b1e1a010a6618fd824714f /libresourceqt/src/resource-set.cpp | |
parent | 6751c585385f017d08540bbe121606d642afb220 (diff) |
Restructured libresourceqt includes, updated debianpackages to soversion=1.
Fixed ResourceEngine to work with the new Resource object.
Diffstat (limited to 'libresourceqt/src/resource-set.cpp')
-rw-r--r-- | libresourceqt/src/resource-set.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libresourceqt/src/resource-set.cpp b/libresourceqt/src/resource-set.cpp index c7862ef..6ff8d9a 100644 --- a/libresourceqt/src/resource-set.cpp +++ b/libresourceqt/src/resource-set.cpp @@ -1,9 +1,9 @@ -#include "resource-set.h" +#include <policy/resource-set.h> using namespace ResourcePolicy; ResourceSet::ResourceSet(const QString &applicationClass, QObject * parent) - : QObject(parent), applicationClass(applicationClass) + : QObject(parent), resourceClass(applicationClass) { identifier = (quint32)this; memset(resourceSet, 0, sizeof(QPointer<Resource>)*NumberOfTypes); @@ -60,7 +60,7 @@ quint32 ResourceSet::id() const return identifier; } -QList<Resource *> ResourceSet::resources() +QList<Resource *> ResourceSet::resources() const { QList<Resource *> listOfResources; for(int i=0; i < NumberOfTypes; i++) { @@ -109,3 +109,7 @@ bool ResourceSet::update() return false; } +QString ResourceSet::applicationClass() +{ + return this->resourceClass; +} |