author | hakan <hakan> | 2002-03-26 19:05:31 (UTC) |
---|---|---|
committer | hakan <hakan> | 2002-03-26 19:05:31 (UTC) |
commit | 78211642003f70797a5faa1767a5ab2f5f83606f (patch) (unidiff) | |
tree | 703df6b1f8a98dbd00066ab3c21419b7f97e41b4 /core/pim/datebook/datebook.cpp | |
parent | dbbbe1c0600422e4bd2d6a6aba271476f457ed97 (diff) | |
download | opie-78211642003f70797a5faa1767a5ab2f5f83606f.zip opie-78211642003f70797a5faa1767a5ab2f5f83606f.tar.gz opie-78211642003f70797a5faa1767a5ab2f5f83606f.tar.bz2 |
Added shortcut buttons to set the start time
Diffstat (limited to 'core/pim/datebook/datebook.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebook.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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 ) | |||
207 | QCopChannel *channel = new QCopChannel( "QPE/System", this ); | 207 | QCopChannel *channel = new QCopChannel( "QPE/System", this ); |
208 | connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), | 208 | connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), |
209 | this, SLOT(receive(const QCString&, const QByteArray&)) ); | 209 | this, SLOT(receive(const QCString&, const QByteArray&)) ); |
210 | channel = new QCopChannel( "QPE/Datebook", this ); | ||
211 | connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), | ||
212 | this, SLOT(receive(const QCString&, const QByteArray&)) ); | ||
210 | #endif | 213 | #endif |
211 | #endif | 214 | #endif |
212 | 215 | ||
@@ -226,6 +229,14 @@ void DateBook::receive( const QCString &msg, const QByteArray &data ) | |||
226 | else if ( monthAction->isOn() ) | 229 | else if ( monthAction->isOn() ) |
227 | viewMonth(); | 230 | viewMonth(); |
228 | } | 231 | } |
232 | else if (msg == "editEvent(int)") { | ||
233 | /* Not yet working... | ||
234 | int uid; | ||
235 | stream >> uid; | ||
236 | Event e=db->getEvent(uid); | ||
237 | editEvent(e); | ||
238 | */ | ||
239 | } | ||
229 | } | 240 | } |
230 | 241 | ||
231 | DateBook::~DateBook() | 242 | DateBook::~DateBook() |