-rw-r--r-- | kmicromail/mainwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 21edfd2..5f777a3 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -36,5 +36,10 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) toolBar->setHorizontalStretchable( true ); - + QAction* getMail = new QAction( tr( "Get new mail" ), SmallIcon("add"), + 0, 0, this ); + getMail->addTo( toolBar ); + getMail->addTo( mailMenu ); + connect(getMail, SIGNAL( activated() ), + SLOT( slotGetMail() ) ); composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), |