-rw-r--r-- | korganizer/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp index 7f9b5c6..16186c0 100644 --- a/korganizer/main.cpp +++ b/korganizer/main.cpp @@ -4,2 +4,3 @@ #include <qpe/qpeapplication.h> +#include <qcopchannel_qws.h> #include <qpe/global.h> @@ -81,2 +82,4 @@ int main( int argc, char **argv ) #ifndef DESKTOP_VERSION + QCopChannel* c1 = new QCopChannel("QPE/Application/datebook",&m, "channel" ) ; + QObject::connect( c1, SIGNAL (received ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); @@ -98,2 +101,5 @@ int main( int argc, char **argv ) a.exec(); +#ifndef DESKTOP_VERSION + delete c1; +#endif |