summaryrefslogtreecommitdiff
path: root/core/pim/addressbook
authoreilers <eilers>2003-05-09 13:33:22 (UTC)
committer eilers <eilers>2003-05-09 13:33:22 (UTC)
commit98196030da571da62ecb2fdd67e77a1e941d175a (patch) (side-by-side diff)
tree1e1503f576a591ca5dac01a110e06a4b97d13eda /core/pim/addressbook
parentb398b872aea2b00ce27536c1894babbcd76c8703 (diff)
downloadopie-98196030da571da62ecb2fdd67e77a1e941d175a.zip
opie-98196030da571da62ecb2fdd67e77a1e941d175a.tar.gz
opie-98196030da571da62ecb2fdd67e77a1e941d175a.tar.bz2
Had misunderstanding about name of the qcop call and show closed the app
immediately..
Diffstat (limited to 'core/pim/addressbook') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index e053e94..975911e 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -654,2 +654,4 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
{
+ qWarning("Receiving QCop-Call with message %s", QString( msg ).latin1() );
+
if (msg == "editPersonal()") {
@@ -688,3 +690,3 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
ir->send( beamFilename, description, "text/x-vCard" );
- } else if ( msg == "showUid(int)" ) {
+ } else if ( msg == "show(int)" ) {
QDataStream stream(data,IO_ReadOnly);
@@ -693,2 +695,4 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
+ qWarning( "Showing uid: %d" , uid );
+
// Deactivate Personal View..
@@ -703,4 +707,6 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
slotViewSwitched ( AbView::CardView );
+
+ qApp->exec();
- } else if ( msg == "editUid(int)" ) {
+ } else if ( msg == "edit(int)" ) {
QDataStream stream(data,IO_ReadOnly);