From 2dd6ac0b2d24c91d35ce674a6c26351352df2b15 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 03 Jul 2004 16:13:47 +0000 Subject: Popupmenu rearrangeg --- (limited to 'kalarmd') diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index 2bc6643..471836b 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp @@ -49,20 +49,19 @@ SimpleAlarmDaemonImpl::SimpleAlarmDaemonImpl( QWidget *parent ) { mAlarmDialog = new AlarmDialog( 0 ); 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(); mPopUp->insertItem( "What's Todo?", this, SLOT ( showTodo() ) ); 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 ); mBeepPopUp = new QPopupMenu( mPopUp ); @@ -506,7 +505,10 @@ void SimpleAlarmDaemonImpl::newEvent() QCopEnvelope e("QPE/Application/kopi", "-newEvent"); } - +void SimpleAlarmDaemonImpl::newMail() +{ + QCopEnvelope e("QPE/Application/kmpi", "newMail()"); +} void SimpleAlarmDaemonImpl::showAdd() { QCopEnvelope e("QPE/Application/kapi", " "); diff --git a/kalarmd/simplealarmdaemonimpl.h b/kalarmd/simplealarmdaemonimpl.h index 1c16af8..32a3867 100644 --- a/kalarmd/simplealarmdaemonimpl.h +++ b/kalarmd/simplealarmdaemonimpl.h @@ -48,6 +48,7 @@ class SimpleAlarmDaemonImpl : public QLabel void showKO(); void showWN(); void showAdd(); + void newMail(); void ringSync(); void showTodo(); void writeFile(); -- cgit v0.9.0.2