summaryrefslogtreecommitdiff
path: root/core/pim
authorharlekin <harlekin>2002-09-17 17:30:39 (UTC)
committer harlekin <harlekin>2002-09-17 17:30:39 (UTC)
commita1b2f800f53715452f75153218e33fcd8907bbbf (patch) (unidiff)
tree878078c578767c1d14ed5c082709b233201b8244 /core/pim
parente1614b49cf61ee37350828ce5b5178a9da752f39 (diff)
downloadopie-a1b2f800f53715452f75153218e33fcd8907bbbf.zip
opie-a1b2f800f53715452f75153218e33fcd8907bbbf.tar.gz
opie-a1b2f800f53715452f75153218e33fcd8907bbbf.tar.bz2
activation and deactivation of plugins works now
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 066a5a8..2095174 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -216,6 +216,4 @@ void Today::draw() {
216 qDebug( plugin.name + " is ACTIVE " ); 216 qDebug( plugin.name + " is ACTIVE " );
217 // QHBoxLayout* plugLayout = new QHBoxLayout( this );
218 plugin.guiBox->show(); 217 plugin.guiBox->show();
219 } else { 218 } else {
220 // plugin.guiWidget->hide();
221 qDebug( plugin.name + " is INACTIVE" ); 219 qDebug( plugin.name + " is INACTIVE" );
@@ -271,2 +269,3 @@ void Today::startConfig() {
271 TodayPlugin plugin; 269 TodayPlugin plugin;
270 QValueList<TodayPlugin> plugList;
272 for ( uint i = 0; i < pluginList.count(); i++ ) { 271 for ( uint i = 0; i < pluginList.count(); i++ ) {
@@ -279,6 +278,7 @@ void Today::startConfig() {
279 qDebug("CONFIG " + plugin.name + " INACTIVE"); 278 qDebug("CONFIG " + plugin.name + " INACTIVE");
280
281 plugin.active = false; 279 plugin.active = false;
282 } 280 }
281 plugList.append( plugin );
283 } 282 }
283 pluginList = plugList;
284 284
@@ -310,4 +310,4 @@ void Today::editCard() {
310void Today::launchApp( QString appName ) { 310void Today::launchApp( QString appName ) {
311 QCopEnvelope e( "QPE/System", "execute(QString)" ); 311 QCopEnvelope e( "QPE/System", "execute(QString)" );
312 e << QString( appName ); 312 e << QString( appName );
313} 313}