* public inheritence
* contextChanged -> changed svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857851
This commit is contained in:
parent
4d96fb5f65
commit
6fbfe14609
@ -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)) {
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user