-rw-r--r-- | kalarmd/simplealarmdaemonimpl.cpp | 16 | ||||
-rw-r--r-- | kalarmd/simplealarmdaemonimpl.h | 1 |
2 files changed, 10 insertions, 7 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index 2bc6643..471836b 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp @@ -51,7 +51,4 @@ SimpleAlarmDaemonImpl::SimpleAlarmDaemonImpl( QWidget *parent ) mPopUp = new QPopupMenu( 0 ); - mPopUp->insertItem( "Addresses", this, SLOT ( showAdd() ) ); - mPopUp->insertSeparator(); - mPopUp->insertItem( "Multi Sync", this, SLOT ( ringSync() ) ); - mPopUp->insertSeparator(); mPopUp->insertItem( "What's Next?", this, SLOT ( showWN() ) ); + mPopUp->insertItem( "Next Days!", this, SLOT ( showKO() ) ); mPopUp->insertSeparator(); @@ -59,8 +56,10 @@ SimpleAlarmDaemonImpl::SimpleAlarmDaemonImpl( QWidget *parent ) mPopUp->insertSeparator(); - mPopUp->insertItem( "Next Days!", this, SLOT ( showKO() ) ); + mPopUp->insertItem( "Addresses", this, SLOT ( showAdd() ) ); mPopUp->insertSeparator(); mPopUp->insertItem( "Edit Journal", this, SLOT ( writeJournal() ) ); - mPopUp->insertSeparator(); mPopUp->insertItem( "New Event", this, SLOT ( newEvent() ) ); mPopUp->insertItem( "New Todo", this, SLOT ( newTodo() ) ); + mPopUp->insertItem( "New Mail", this, SLOT ( newMail() ) ); + mPopUp->insertSeparator(); + mPopUp->insertItem( "Multi Sync", this, SLOT ( ringSync() ) ); mTimerPopUp = new QPopupMenu( mPopUp ); @@ -508,3 +507,6 @@ void SimpleAlarmDaemonImpl::newEvent() } - +void SimpleAlarmDaemonImpl::newMail() +{ + QCopEnvelope e("QPE/Application/kmpi", "newMail()"); +} void SimpleAlarmDaemonImpl::showAdd() diff --git a/kalarmd/simplealarmdaemonimpl.h b/kalarmd/simplealarmdaemonimpl.h index 1c16af8..32a3867 100644 --- a/kalarmd/simplealarmdaemonimpl.h +++ b/kalarmd/simplealarmdaemonimpl.h @@ -50,2 +50,3 @@ class SimpleAlarmDaemonImpl : public QLabel void showAdd(); + void newMail(); void ringSync(); |