summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 6c0aa9b..4b00062 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -13,2 +13,3 @@
13#include <qlabel.h> 13#include <qlabel.h>
14#include <qmap.h>
14#include <qwmatrix.h> 15#include <qwmatrix.h>
@@ -53,2 +54,4 @@
53#include "simplealarmclient.h" 54#include "simplealarmclient.h"
55#include "externalapphandler.h"
56
54using namespace KCal; 57using namespace KCal;
@@ -199,2 +202,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) :
199 } 202 }
203
204 //US listen for result adressed from Ka/Pi
205 connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
200} 206}
@@ -250,2 +256,12 @@ void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
250 qDebug("KO: QCOP message received: %s ", cmsg.data() ); 256 qDebug("KO: QCOP message received: %s ", cmsg.data() );
257
258 if ( cmsg == "-writeFile" ) {
259 // I made from the "-writeFile" an "-writeAlarm"
260 mView->viewManager()->showWhatsNextView();
261 mCalendar->checkAlarmForIncidence( 0, true);
262 showMaximized();
263 raise();
264 return;
265 }
266
251 if ( cmsg == "-writeFile" ) { 267 if ( cmsg == "-writeFile" ) {