#include "PowerDevilRunner.h"
#include <QDBusInterface>
-#include <QDBusReply>
-#include <QtDBus/QDBusConnectionInterface>
-#include <QtDBus/QDBusMetaType>
+#include <QDBusConnectionInterface>
+#include <QDBusConnection>
#include <KIcon>
#include <KLocale>
#include <KDebug>
#include <KStandardDirs>
#include <KRun>
-
#include <Solid/PowerManagement>
PowerDevilRunner::PowerDevilRunner(QObject *parent, const QVariantList &args)
m_shortestCommand(1000)
{
Q_UNUSED(args)
- qDBusRegisterMetaType< StringStringMap >();
setObjectName( QLatin1String("PowerDevil" ));
setIgnoredTypes(Plasma::RunnerContext::Directory | Plasma::RunnerContext::File |
#define POWERDEVILRUNNER_H
#include <Plasma/AbstractRunner>
-#include <QDBusConnection>
-
-typedef QMap< QString, QString > StringStringMap;
class PowerDevilRunner : public Plasma::AbstractRunner
{
int m_shortestCommand;
};
-Q_DECLARE_METATYPE(StringStringMap)
K_EXPORT_PLASMA_RUNNER( powerdevil, PowerDevilRunner )
#endif