[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/libs/kworkspace
From: Ivan Čukić <ivan.cukic () kde ! org>
Date: 2010-11-09 18:41:03
Message-ID: 20101109184103.174DDAC89B () svn ! kde ! org
[Download RAW message or body]
SVN commit 1194740 by ivan:
Added start and stopActivity methods
CCMAIL:chanika@gmail.com
M +10 -0 kactivitycontroller.cpp
M +12 -0 kactivitycontroller.h
--- trunk/KDE/kdebase/workspace/libs/kworkspace/kactivitycontroller.cpp #1194739:1194740
@@ -103,4 +103,14 @@
KActivityManager::self()->RemoveActivity(id);
}
+void KActivityController::stopActivity(const QString & id)
+{
+ KActivityManager::self()->StopActivity(id);
+}
+
+void KActivityController::startActivity(const QString & id)
+{
+ KActivityManager::self()->StartActivity(id);
+}
+
#include "kactivitycontroller.moc"
--- trunk/KDE/kdebase/workspace/libs/kworkspace/kactivitycontroller.h #1194739:1194740
@@ -83,6 +83,18 @@
*/
void removeActivity(const QString & id);
+ /**
+ * Stops the activity
+ * @param id id of the activity to stop
+ */
+ void stopActivity(const QString & id);
+
+ /**
+ * Starts the activity
+ * @param id id of the activity to start
+ */
+ void startActivity(const QString & id);
+
Q_SIGNALS:
/**
* This signal is emitted when the global
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic