-rw-r--r-- | libkdepim/externalapphandler.cpp | 7 | ||||
-rw-r--r-- | libkdepim/externalapphandler.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libkdepim/externalapphandler.cpp b/libkdepim/externalapphandler.cpp index f8f4c8a..0d66a5a 100644 --- a/libkdepim/externalapphandler.cpp +++ b/libkdepim/externalapphandler.cpp @@ -1136,4 +1136,9 @@ void ExternalAppHandler::appMessage( const QCString& cmsg, const QByteArray& dat return; } + if ( cmsg == "callContactdialog()" ) { + qDebug("callContactdialog()"); + emit callContactdialog(); + return; + } bool res = mNameEmailUidListFromKAPITransfer->appMessage( cmsg, data ); @@ -1156,5 +1161,7 @@ bool ExternalAppHandler::requestNameEmailUidListFromKAPI(const QString& sourceCh // it may be that the QAplication::desktop()->width() values in KA/Pi are not the same as in our application // 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 @@ -234,4 +234,5 @@ class ExternalAppHandler : public QObject signals: + void callContactdialog(); void nextView(); // Emmitted when the target app receives a request from the source app |