author | zautrix <zautrix> | 2005-08-23 18:28:51 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-23 18:28:51 (UTC) |
commit | 13a736b71dec27ef7ffef06b91f34d220d89cce6 (patch) (side-by-side diff) | |
tree | 08003ff0365e905ad653e3a714ac99f1c1aba654 | |
parent | 789aec1acdf798aea32ab16219a8f19c6155250e (diff) | |
download | kdepimpi-13a736b71dec27ef7ffef06b91f34d220d89cce6.zip kdepimpi-13a736b71dec27ef7ffef06b91f34d220d89cce6.tar.gz kdepimpi-13a736b71dec27ef7ffef06b91f34d220d89cce6.tar.bz2 |
align fix
-rw-r--r-- | kmicromail/mailistviewitem.cpp | 2 | ||||
-rw-r--r-- | kmicromail/mainwindow.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/kmicromail/mailistviewitem.cpp b/kmicromail/mailistviewitem.cpp index 15fa148..41cee52 100644 --- a/kmicromail/mailistviewitem.cpp +++ b/kmicromail/mailistviewitem.cpp @@ -34,49 +34,49 @@ void MailListViewItem::showEntry() switch(fsize.length() ) { case 6: fsort = "00" + fsize ; break; case 7: fsort = "0" + fsize ; break; default: fsort = fsize ; break; } setText(3, fsize ); //qDebug("fsize *%s* ",fsize.latin1() ); //qDebug("fsort *%s* ",fsort.latin1() ); if ( fsize.right(2) == "kB" ) { mKeyMap.insert(3, "k" + fsort); } else { mKeyMap.insert(3, "M" +fsort ); } setText(1,mail_data->getSubject()); setText(2,mail_data->getFrom()); mKeyMap.insert(4,mail_data->getIsoDate()); - setText(4,mail_data->getDate()); + setText(4," "+mail_data->getDate()); if ( KOPrefs::instance()->mShowToField ) setText(5,mail_data->To()[0]); } void MailListViewItem::storeData(const RecMailP&data) { mail_data = data; } void MailListViewItem::setSortKey(int column,const QString &key) { mKeyMap.insert(column,key); } QString MailListViewItem::key(int column, bool) const { // to make is fast, we use here special cases if ( column == 3 || column == 4 || column == 0) { return *mKeyMap.find(column); } if ( column == 1 ) { if ( text(1).left(4).lower() == "re: " ) return text(1).mid(4); } return text(column); diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 3dde3cd..d547dda 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -356,49 +356,48 @@ void MainWindow::slotAdjustLayout() { QWidget *d = QApplication::desktop(); if ( d->width() < d->height() ) { layout->setDirection( QBoxLayout::TopToBottom ); } else { layout->setDirection( QBoxLayout::LeftToRight ); } */ } void MainWindow::slotAdjustColumns() { if ( !folderView->isHidden() ) folderView->setColumnWidth( 0, folderView->visibleWidth() ); mailView->setColumnWidth( 0, 10 ); mailView->setColumnWidth( 1, 100 ); mailView->setColumnWidth( 2, 100 ); mailView->setColumnWidth( 3, 70 ); mailView->setColumnWidth( 4, 180 ); if ( KOPrefs::instance()->mShowToField ) mailView->setColumnWidth( 5, 100 ); mailView->setColumnAlignment( 3, AlignRight); - mailView->setColumnAlignment( 4, AlignRight); } void MainWindow::slotAdjustColumnsWide() { if ( !folderView->isHidden() ) folderView->setColumnWidth( 0, folderView->visibleWidth() ); mailView->setColumnWidth( 0, 10 ); mailView->setColumnWidth( 1, 200 ); mailView->setColumnWidth( 2, 200 ); mailView->setColumnWidth( 3, 70 ); mailView->setColumnWidth( 4, 180 ); if ( KOPrefs::instance()->mShowToField ) mailView->setColumnWidth( 5, 100 ); mailView->setColumnAlignment( 3, AlignRight); } void MainWindow::slotEditSettings() { } void MainWindow::slotEditGlobalSettings() { } void MainWindow::slotShowFolders( bool ) |