-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 @@ -186,10 +186,8 @@ void Today::loadPlugins() { // if its not in allApplets list, add it to a layout if ( !m_allApplets.contains( pluginListRefreshExclude[(*it)].name ) ) { - qDebug( "NUGASDA" ); layout->addWidget( pluginListRefreshExclude[(*it)].guiBox ); pluginList.append( pluginListRefreshExclude[(*it)] ); } else { tempList.insert( pluginListRefreshExclude[(*it)].name, pluginListRefreshExclude[(*it)] ); - qDebug( "TEST2 " + pluginListRefreshExclude[(*it)].name ); } } else { @@ -356,5 +354,5 @@ void Today::refresh() { init(); - qDebug(" refresh "); + // qDebug(" refresh "); // set the date in top label QDate date = QDate::currentDate(); @@ -374,10 +372,4 @@ void Today::refresh() { } -void Today::startAddressbook() { - QCopEnvelope e( "QPE/System", "execute(QString)" ); - e << QString( "addressbook" ); -} - - void Today::startApplication() { QCopEnvelope e( "QPE/System", "execute(QString)" ); @@ -389,9 +381,5 @@ void Today::startApplication() { */ void Today::editCard() { - startAddressbook(); - while( !QCopChannel::isRegistered( "QPE/Addressbook" ) ) { - qApp->processEvents(); - } - QCopEnvelope v( "QPE/Addressbook", "editPersonalAndClose()" ); + QCopEnvelope env( "QPE/Application/addressbook", "editPersonalAndClose()" ); } 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 @@ -46,5 +46,4 @@ class Today : public TodayBase { private slots: void startConfig(); - void startAddressbook(); void startApplication(); void editCard(); |