-rw-r--r-- | libkdepim/externalapphandler.cpp | 9 | ||||
-rw-r--r-- | libkdepim/externalapphandler.h | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libkdepim/externalapphandler.cpp b/libkdepim/externalapphandler.cpp index f8f4c8a..0d66a5a 100644 --- a/libkdepim/externalapphandler.cpp +++ b/libkdepim/externalapphandler.cpp @@ -1137,3 +1137,8 @@ void ExternalAppHandler::appMessage( const QCString& cmsg, const QByteArray& dat } - + if ( cmsg == "callContactdialog()" ) { + qDebug("callContactdialog()"); + emit callContactdialog(); + return; + } + bool res = mNameEmailUidListFromKAPITransfer->appMessage( cmsg, data ); @@ -1157,3 +1162,5 @@ bool ExternalAppHandler::requestNameEmailUidListFromKAPI(const QString& sourceCh // for that reason we send the current QApplication::desktop()->width() to KA/Pi + //qDebug("UID %s ", sessionuid.latin1()); return mNameEmailUidListFromKAPITransfer->sendMessageToTarget(QString::number ( QApplication::desktop()->width() )); + //return mNameEmailUidListFromKAPITransfer->sendMessageToTarget(sessionuid); } diff --git a/libkdepim/externalapphandler.h b/libkdepim/externalapphandler.h index 52a64e1..097f306 100644 --- a/libkdepim/externalapphandler.h +++ b/libkdepim/externalapphandler.h @@ -235,2 +235,3 @@ class ExternalAppHandler : public QObject signals: + void callContactdialog(); void nextView(); |