author | harlekin <harlekin> | 2002-06-11 23:33:52 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-11 23:33:52 (UTC) |
commit | d7c563f849316c7a742769e88136058afb69a2d9 (patch) (unidiff) | |
tree | ac82e68921345a336fba28b9f62050b0a3d6d11c /core/pim/today/today.cpp | |
parent | 37ab41238538d7c89090c083953b794cfdc29c6a (diff) | |
download | opie-d7c563f849316c7a742769e88136058afb69a2d9.zip opie-d7c563f849316c7a742769e88136058afb69a2d9.tar.gz opie-d7c563f849316c7a742769e88136058afb69a2d9.tar.bz2 |
click on vcard label launches not the input
-rw-r--r-- | core/pim/today/today.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 9e9d31f..ad1ec90 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -421,14 +421,22 @@ void Today::getTodo() { | |||
421 | TodoField->setText(tr(output)); | 421 | TodoField->setText(tr(output)); |
422 | } | 422 | } |
423 | 423 | ||
424 | |||
425 | void Today::startAddressbook() { | ||
426 | QCopEnvelope e("QPE/System", "execute(QString)"); | ||
427 | e << QString("addressbook"); | ||
428 | } | ||
429 | |||
430 | extern QPEApplication *todayApp; | ||
431 | |||
424 | /* | 432 | /* |
425 | * launch addressbook (personal card) | 433 | * launch addressbook (personal card) |
426 | */ | 434 | */ |
427 | void Today::editCard() { | 435 | void Today::editCard() { |
428 | QCopEnvelope w("QPE/System", "execute(QString)"); | ||
429 | w << QString("addressbook"); | ||
430 | 436 | ||
431 | // while( !QCopChannel::isRegistered("QPE/Addressbook")) | 437 | startAddressbook(); |
438 | |||
439 | while( !QCopChannel::isRegistered("QPE/Addressbook")) todayApp->processEvents(); | ||
432 | QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); | 440 | QCopEnvelope v("QPE/Addressbook", "editPersonalAndClose()"); |
433 | } | 441 | } |
434 | 442 | ||
@@ -443,10 +451,6 @@ void Today::startDatebook() { | |||
443 | /* | 451 | /* |
444 | * starts the edit dialog as known from datebook | 452 | * starts the edit dialog as known from datebook |
445 | */ | 453 | */ |
446 | |||
447 | |||
448 | extern QPEApplication *todayApp; | ||
449 | |||
450 | void Today::editEvent(const Event &e) { | 454 | void Today::editEvent(const Event &e) { |
451 | startDatebook(); | 455 | startDatebook(); |
452 | 456 | ||