add a generic contextChanged signal (need to do an API review on this class next week once we have more of the nepomuk stuff together)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857494
This commit is contained in:
Aaron J. Seigo 2008-09-05 14:46:05 +00:00
parent 8d3ef3e367
commit b422757da1
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ void Context::setCurrentActivity(const QString &name)
d->activity = name;
emit activityChanged(this);
emit contextChanged(this);
QStringList activities = listActivities();
if (!activities.contains(name)) {

View File

@ -47,6 +47,7 @@ public:
//TODO: location
Q_SIGNALS:
void contextChanged(Plasma::Context *context);
void activityChanged(Plasma::Context *context);
void locationChanged(Plasma::Context *context);