diff --git a/abstractrunner.cpp b/abstractrunner.cpp index da3dc5b40..d62f52398 100644 --- a/abstractrunner.cpp +++ b/abstractrunner.cpp @@ -22,6 +22,7 @@ #include #include #include +#include namespace Plasma { diff --git a/corona.cpp b/corona.cpp index cc48d0434..3a700d2b2 100644 --- a/corona.cpp +++ b/corona.cpp @@ -140,7 +140,7 @@ void Corona::loadApplets(const QString& config) { clearApplets(); - KConfig cg(config, KConfig::OnlyLocal); + KConfig cg(config, KConfig::SimpleConfig); QList applets; QHash containments; @@ -167,7 +167,7 @@ void Corona::loadApplets(const QString& config) //kDebug() << "number of applets?" << applets.count(); foreach (KConfigGroup cg, applets) { int cid = cg.readEntry("containment", 0); - kDebug() << "trying to load applet" << cg.group() << cid; + kDebug() << "trying to load applet" << cg.name() << cid; Containment* c = containments.value(cid, 0); @@ -177,8 +177,8 @@ void Corona::loadApplets(const QString& config) kDebug() << "loading containment " << cid; - kDebug() << "creating applet " << cg.group(); - int appId = cg.group().left(cg.group().indexOf('-')).toUInt(); + kDebug() << "creating applet " << cg.name(); + int appId = cg.name().left(cg.name().indexOf('-')).toUInt(); c->addApplet(cg.readEntry("plugin", QString()), QVariantList(), appId, cg.readEntry("geometry", QRectF()), true); } diff --git a/datacontainer_p.h b/datacontainer_p.h index 16e805d03..339392e9b 100644 --- a/datacontainer_p.h +++ b/datacontainer_p.h @@ -21,6 +21,7 @@ #define PLASMA_DATACONTAINER_P_H #include +#include namespace Plasma { diff --git a/dataengine.cpp b/dataengine.cpp index 14b904509..c5d9c2394 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/package.cpp b/package.cpp index 5db4842dd..0ef5b0fda 100644 --- a/package.cpp +++ b/package.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include "packagemetadata.h" #include "packagestructure.h" diff --git a/theme.cpp b/theme.cpp index d218797ed..7c7385f54 100644 --- a/theme.cpp +++ b/theme.cpp @@ -21,6 +21,7 @@ #include #include +#include #include namespace Plasma