summaryrefslogtreecommitdiff
path: root/core/pim/addressbook
Side-by-side diff
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
@@ -653,4 +653,6 @@ static void parseName( const QString& name, QString *first, QString *middle,
void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
{
+ qWarning("Receiving QCop-Call with message %s", QString( msg ).latin1() );
+
if (msg == "editPersonal()") {
editPersonal();
@@ -687,9 +689,11 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
QString description = "mycard.vcf";
ir->send( beamFilename, description, "text/x-vCard" );
- } else if ( msg == "showUid(int)" ) {
+ } else if ( msg == "show(int)" ) {
QDataStream stream(data,IO_ReadOnly);
int uid;
stream >> uid;
+ qWarning( "Showing uid: %d" , uid );
+
// Deactivate Personal View..
if ( actionPersonal->isOn() ){
@@ -702,6 +706,8 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data)
m_abView -> setCurrentUid( uid );
slotViewSwitched ( AbView::CardView );
+
+ qApp->exec();
- } else if ( msg == "editUid(int)" ) {
+ } else if ( msg == "edit(int)" ) {
QDataStream stream(data,IO_ReadOnly);
int uid;