diff --git a/context.cpp b/context.cpp index ae5c2295f..a8a746199 100644 --- a/context.cpp +++ b/context.cpp @@ -57,7 +57,7 @@ void Context::setCurrentActivity(const QString &name) d->activity = name; emit activityChanged(this); - emit contextChanged(this); + emit changed(this); QStringList activities = listActivities(); if (!activities.contains(name)) { diff --git a/context.h b/context.h index 887c84e17..5723142c0 100644 --- a/context.h +++ b/context.h @@ -30,7 +30,7 @@ namespace Plasma class ContextPrivate; -class PLASMA_EXPORT Context : QObject +class PLASMA_EXPORT Context : public QObject { Q_OBJECT @@ -47,7 +47,7 @@ public: //TODO: location Q_SIGNALS: - void contextChanged(Plasma::Context *context); + void changed(Plasma::Context *context); void activityChanged(Plasma::Context *context); void locationChanged(Plasma::Context *context);