From 3687d22770c8ceb5ccd4813bb6e2ad2dd61da70d Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 20 Aug 2008 13:12:13 +0000 Subject: [PATCH] return to the term Activity as it will be one aspect of Context and that seems to confuse everyone who isn't me ;) svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849911 --- context.cpp | 8 ++++---- context.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/context.cpp b/context.cpp index 801cfba2d..a4e19e30e 100644 --- a/context.cpp +++ b/context.cpp @@ -38,20 +38,20 @@ Context::~Context() delete d; } -void Context::createContext(const QString &name) +void Context::createActivity(const QString &name) { } -QStringList Context::contexts() const +QStringList Context::listActivities() const { return QStringList(); } -void Context::setCurrentContext(const QString &name) +void Context::setCurrentActivity(const QString &name) { } -QString Context::currentContext() const +QString Context::currentActivity() const { return QString(); } diff --git a/context.h b/context.h index 18bb62b97..e16af37e5 100644 --- a/context.h +++ b/context.h @@ -38,11 +38,11 @@ public: explicit Context(QObject *parent = 0); ~Context(); - void createContext(const QString &name); - QStringList contexts() const; + void createActivity(const QString &name); + QStringList listActivities() const; - void setCurrentContext(const QString &name); - QString currentContext() const; + void setCurrentActivity(const QString &name); + QString currentActivity() const; Q_SIGNALS: void currentChanged(const QString &);