summaryrefslogtreecommitdiffabout
path: root/korganizer/main.cpp
authorzautrix <zautrix>2004-10-08 23:38:07 (UTC)
committer zautrix <zautrix>2004-10-08 23:38:07 (UTC)
commit07fdef2c2ea1153d39d7114b3d5bd4abc4f4c861 (patch) (side-by-side diff)
tree03d0e5d20e607e035e17fcdabd6bce789069f41e /korganizer/main.cpp
parent44169895703beb3e8b1551a313d2d341bf742905 (diff)
downloadkdepimpi-07fdef2c2ea1153d39d7114b3d5bd4abc4f4c861.zip
kdepimpi-07fdef2c2ea1153d39d7114b3d5bd4abc4f4c861.tar.gz
kdepimpi-07fdef2c2ea1153d39d7114b3d5bd4abc4f4c861.tar.bz2
some bugfixes
Diffstat (limited to 'korganizer/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/main.cpp6
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