From 78211642003f70797a5faa1767a5ab2f5f83606f Mon Sep 17 00:00:00 2001 From: hakan Date: Tue, 26 Mar 2002 19:05:31 +0000 Subject: Added shortcut buttons to set the start time --- (limited to 'core/pim/datebook/datebook.cpp') diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 92dbdc8..2deb96f 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp @@ -207,6 +207,9 @@ DateBook::DateBook( QWidget *parent, const char *, WFlags f ) QCopChannel *channel = new QCopChannel( "QPE/System", this ); connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), this, SLOT(receive(const QCString&, const QByteArray&)) ); + channel = new QCopChannel( "QPE/Datebook", this ); + connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), + this, SLOT(receive(const QCString&, const QByteArray&)) ); #endif #endif @@ -226,6 +229,14 @@ void DateBook::receive( const QCString &msg, const QByteArray &data ) else if ( monthAction->isOn() ) viewMonth(); } + else if (msg == "editEvent(int)") { + /* Not yet working... + int uid; + stream >> uid; + Event e=db->getEvent(uid); + editEvent(e); + */ + } } DateBook::~DateBook() -- cgit v0.9.0.2