From b422757da144ccf31e8cda943eaad5b19802a100 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 5 Sep 2008 14:46:05 +0000 Subject: [PATCH] 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 --- context.cpp | 1 + context.h | 1 + 2 files changed, 2 insertions(+) diff --git a/context.cpp b/context.cpp index 8e0601b7d..ae5c2295f 100644 --- a/context.cpp +++ b/context.cpp @@ -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)) { diff --git a/context.h b/context.h index 55a89dc07..887c84e17 100644 --- a/context.h +++ b/context.h @@ -47,6 +47,7 @@ public: //TODO: location Q_SIGNALS: + void contextChanged(Plasma::Context *context); void activityChanged(Plasma::Context *context); void locationChanged(Plasma::Context *context);