summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-03 16:13:47 (UTC)
committer zautrix <zautrix>2004-07-03 16:13:47 (UTC)
commit2dd6ac0b2d24c91d35ce674a6c26351352df2b15 (patch) (side-by-side diff)
treeb8474ca04d5e1bf79ca956ecaefc0c5d62280e8c
parenta95f7085c5dd7234c254750e32e44941599f3390 (diff)
downloadkdepimpi-2dd6ac0b2d24c91d35ce674a6c26351352df2b15.zip
kdepimpi-2dd6ac0b2d24c91d35ce674a6c26351352df2b15.tar.gz
kdepimpi-2dd6ac0b2d24c91d35ce674a6c26351352df2b15.tar.bz2
Popupmenu rearrangeg
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonimpl.cpp16
-rw-r--r--kalarmd/simplealarmdaemonimpl.h1
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
@@ -46,26 +46,25 @@
SimpleAlarmDaemonImpl::SimpleAlarmDaemonImpl( QWidget *parent )
: QLabel( 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 );
mSoundPopUp = new QPopupMenu( mBeepPopUp );
mPausePopUp = new QPopupMenu( mBeepPopUp );
QPopupMenu* savePopUp = new QPopupMenu( mBeepPopUp );
@@ -503,13 +502,16 @@ void SimpleAlarmDaemonImpl::newTodo()
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", " ");
}
void SimpleAlarmDaemonImpl::ringSync()
{
diff --git a/kalarmd/simplealarmdaemonimpl.h b/kalarmd/simplealarmdaemonimpl.h
index 1c16af8..32a3867 100644
--- a/kalarmd/simplealarmdaemonimpl.h
+++ b/kalarmd/simplealarmdaemonimpl.h
@@ -45,12 +45,13 @@ class SimpleAlarmDaemonImpl : public QLabel
void newEvent();
void newCountdown();
void simulate();
void showKO();
void showWN();
void showAdd();
+ void newMail();
void ringSync();
void showTodo();
void writeFile();
void writeJournal();
void slotPlayBeep( int );
void showTimer( );