author | harlekin <harlekin> | 2002-11-21 17:22:36 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-11-21 17:22:36 (UTC) |
commit | 9e4b4807e89a5ccea45a119db9e7d8d02972dc98 (patch) (unidiff) | |
tree | 6f47567e6ea18ce9d54b40678d6fc3cf762d1cee | |
parent | 7a425e527b7ed11cd113365e6c45ebecd0d72c79 (diff) | |
download | opie-9e4b4807e89a5ccea45a119db9e7d8d02972dc98.zip opie-9e4b4807e89a5ccea45a119db9e7d8d02972dc98.tar.gz opie-9e4b4807e89a5ccea45a119db9e7d8d02972dc98.tar.bz2 |
better way to launch edit personal data
-rw-r--r-- | core/pim/today/today.cpp | 16 | ||||
-rw-r--r-- | core/pim/today/today.h | 1 |
2 files changed, 2 insertions, 15 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 1b31cfd..e6f8c93 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -187,3 +187,2 @@ void Today::loadPlugins() { | |||
187 | if ( !m_allApplets.contains( pluginListRefreshExclude[(*it)].name ) ) { | 187 | if ( !m_allApplets.contains( pluginListRefreshExclude[(*it)].name ) ) { |
188 | qDebug( "NUGASDA" ); | ||
189 | layout->addWidget( pluginListRefreshExclude[(*it)].guiBox ); | 188 | layout->addWidget( pluginListRefreshExclude[(*it)].guiBox ); |
@@ -192,3 +191,2 @@ void Today::loadPlugins() { | |||
192 | tempList.insert( pluginListRefreshExclude[(*it)].name, pluginListRefreshExclude[(*it)] ); | 191 | tempList.insert( pluginListRefreshExclude[(*it)].name, pluginListRefreshExclude[(*it)] ); |
193 | qDebug( "TEST2 " + pluginListRefreshExclude[(*it)].name ); | ||
194 | } | 192 | } |
@@ -357,3 +355,3 @@ void Today::refresh() { | |||
357 | 355 | ||
358 | qDebug(" refresh "); | 356 | // qDebug(" refresh "); |
359 | // set the date in top label | 357 | // set the date in top label |
@@ -375,8 +373,2 @@ void Today::refresh() { | |||
375 | 373 | ||
376 | void Today::startAddressbook() { | ||
377 | QCopEnvelope e( "QPE/System", "execute(QString)" ); | ||
378 | e << QString( "addressbook" ); | ||
379 | } | ||
380 | |||
381 | |||
382 | void Today::startApplication() { | 374 | void Today::startApplication() { |
@@ -390,7 +382,3 @@ void Today::startApplication() { | |||
390 | void Today::editCard() { | 382 | void Today::editCard() { |
391 | startAddressbook(); | 383 | QCopEnvelope env( "QPE/Application/addressbook", "editPersonalAndClose()" ); |
392 | while( !QCopChannel::isRegistered( "QPE/Addressbook" ) ) { | ||
393 | qApp->processEvents(); | ||
394 | } | ||
395 | QCopEnvelope v( "QPE/Addressbook", "editPersonalAndClose()" ); | ||
396 | } | 384 | } |
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 4485a0b..35b7ee3 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -47,3 +47,2 @@ private slots: | |||
47 | void startConfig(); | 47 | void startConfig(); |
48 | void startAddressbook(); | ||
49 | void startApplication(); | 48 | void startApplication(); |