Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 93d80d9..0a45445 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp @@ -82,10 +82,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) editAccounts->addTo( settingsMenu ); - //setCentralWidget( view ); - QVBox* wrapperBox = new QVBox( this ); - setCentralWidget( wrapperBox ); - - QWidget *view = new QWidget( wrapperBox ); + QWidget *view = new QWidget( this ); + setCentralWidget( view ); layout = new QBoxLayout ( view, QBoxLayout::LeftToRight ); @@ -107,7 +104,4 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) mailView->setSorting(4,false); - statusWidget = new StatusWidget( wrapperBox ); - statusWidget->hide(); - layout->addWidget( mailView ); layout->setStretchFactor( folderView, 1 ); @@ -125,12 +119,16 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); + connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), this,SLOT(refreshMailView(const QValueList<RecMailP>&))); + connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); + // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); // Added by Stefan Eilers to allow starting by addressbook.. // copied from old mail2 + #if !defined(QT_NO_COP) connect( qApp, SIGNAL( appMessage(const QCString&,const QByteArray&) ), @@ -141,5 +139,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) #endif - QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); + QTimer::singleShot( 10, this, SLOT( slotAdjustColumns() ) ); } |