* public inheritence

* contextChanged -> changed

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857851
This commit is contained in:
Aaron J. Seigo 2008-09-06 16:28:57 +00:00
parent 4d96fb5f65
commit 6fbfe14609
2 changed files with 3 additions and 3 deletions

View File

@ -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)) {

View File

@ -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);