summaryrefslogtreecommitdiff
path: root/noncore/net/mail/mainwindow.cpp
authorharlekin <harlekin>2004-01-04 02:35:03 (UTC)
committer harlekin <harlekin>2004-01-04 02:35:03 (UTC)
commitd93529cebc9ea9ab4adf674e93e204f5a53d8906 (patch) (side-by-side diff)
tree727ebb146a3518a2303d515c8e3e5e093397b9dc /noncore/net/mail/mainwindow.cpp
parent55df8c221c43d81f6132d033553a173276954f7c (diff)
downloadopie-d93529cebc9ea9ab4adf674e93e204f5a53d8906.zip
opie-d93529cebc9ea9ab4adf674e93e204f5a53d8906.tar.gz
opie-d93529cebc9ea9ab4adf674e93e204f5a53d8906.tar.bz2
adapt build system to lib etc and get it build
Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp
index 2a74286..6511b1f 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -6,32 +6,33 @@
#include <qmessagebox.h>
#include <qtextstream.h>
#include <qpe/qpeapplication.h>
#include <qpe/resource.h>
#include "defines.h"
#include "mainwindow.h"
#include "viewmail.h"
#include "mailtypes.h"
#include "mailistviewitem.h"
MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
: QMainWindow( parent, name, flags )
{
+
setCaption( tr( "Mail" ) );
setToolBarsMovable( false );
toolBar = new QToolBar( this );
menuBar = new QMenuBar( toolBar );
mailMenu = new QPopupMenu( menuBar );
menuBar->insertItem( tr( "Mail" ), mailMenu );
settingsMenu = new QPopupMenu( menuBar );
menuBar->insertItem( tr( "Settings" ), settingsMenu );
addToolBar( toolBar );
toolBar->setHorizontalStretchable( true );
QLabel *spacer = new QLabel( toolBar );
spacer->setBackgroundMode( QWidget::PaletteButton );
toolBar->setStretchableWidget( spacer );