summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-12-14 01:09:50 (UTC)
committer harlekin <harlekin>2003-12-14 01:09:50 (UTC)
commit52966e8b529e78ae431839abd90cec2ebb0d6dff (patch) (side-by-side diff)
tree46c59f53148a3217da61c903b89e835f5e61a4c9
parent9a0f1ee9b3ba465942d207eaddec722371f86353 (diff)
downloadopie-52966e8b529e78ae431839abd90cec2ebb0d6dff.zip
opie-52966e8b529e78ae431839abd90cec2ebb0d6dff.tar.gz
opie-52966e8b529e78ae431839abd90cec2ebb0d6dff.tar.bz2
mail listview not colapsable
Diffstat (more/less context) (ignore 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 2b5870a..391b55e 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -60,48 +60,49 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
searchMails->addTo( toolBar );
searchMails->addTo( mailMenu );
deleteMails = new QAction(tr("Delete Mail"), QIconSet(Resource::loadPixmap("mail/delete")), 0, 0, this);
deleteMails->addTo( toolBar );
deleteMails->addTo( mailMenu );
connect( deleteMails, SIGNAL( activated() ),
SLOT( slotDeleteMail() ) );
editSettings = new QAction( tr( "Edit settings" ), ICON_EDITSETTINGS,
0, 0, this );
editSettings->addTo( settingsMenu );
editAccounts = new QAction( tr( "Configure accounts" ), ICON_EDITACCOUNTS,
0, 0, this );
editAccounts->addTo( settingsMenu );
QWidget *view = new QWidget( this );
setCentralWidget( view );
layout = new QBoxLayout ( view, QBoxLayout::LeftToRight );
folderView = new AccountView( view );
folderView->header()->hide();
+ folderView->setRootIsDecorated( false );
folderView->addColumn( tr( "Mailbox" ) );
folderView->hide();
layout->addWidget( folderView );
mailView = new QListView( view );
mailView->addColumn( tr( "" ) );
mailView->addColumn( tr( "Subject" ),QListView::Manual );
mailView->addColumn( tr( "Sender" ),QListView::Manual );
mailView->addColumn( tr( "Date" ));
mailView->setAllColumnsShowFocus(true);
mailView->setSorting(-1);
layout->addWidget( mailView );
layout->setStretchFactor( folderView, 1 );
layout->setStretchFactor( mailView, 2 );
slotAdjustLayout();
connect( mailView, SIGNAL( clicked( QListViewItem * ) ),this,
SLOT( displayMail( QListViewItem * ) ) );
connect(folderView, SIGNAL(refreshMailview(QList<RecMail>*)),this,SLOT(refreshMailView(QList<RecMail>*)));