author | zautrix <zautrix> | 2005-03-22 22:55:32 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-22 22:55:32 (UTC) |
commit | aa6d19015bc91ae3af021d766d37a473e125278f (patch) (side-by-side diff) | |
tree | f7b1d6b45a3997013318107ca02fa63b4b76913e /kmicromail | |
parent | 53ac6d1f931c50d89a44d9d46daceb7ed9d4ddc6 (diff) | |
download | kdepimpi-aa6d19015bc91ae3af021d766d37a473e125278f.zip kdepimpi-aa6d19015bc91ae3af021d766d37a473e125278f.tar.gz kdepimpi-aa6d19015bc91ae3af021d766d37a473e125278f.tar.bz2 |
fixes
-rw-r--r-- | kmicromail/opiemail.cpp | 1 | ||||
-rw-r--r-- | kmicromail/viewmailbase.cpp | 9 | ||||
-rw-r--r-- | kmicromail/viewmailbase.h | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index b701446..4436ad6 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -55,2 +55,3 @@ OpieMail::OpieMail( QWidget *parent, const char *name ) this, SLOT(insertAttendees(const QString&, const QStringList&, const QStringList&, const QStringList&))); + folderView->setFocus(); } diff --git a/kmicromail/viewmailbase.cpp b/kmicromail/viewmailbase.cpp index 3a41ba0..3bb964e 100644 --- a/kmicromail/viewmailbase.cpp +++ b/kmicromail/viewmailbase.cpp @@ -6,2 +6,3 @@ #include <qvbox.h> +#include <qapplication.h> @@ -74,6 +75,8 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) attachments = new QListView(view); - attachments->setMinimumHeight(90); - attachments->setMaximumHeight(90); + int fixh = 100; + if ( QApplication::desktop()->width() > 320 ) + fixh = 200; + attachments->setFixedHeight(fixh); attachments->setAllColumnsShowFocus(true); - attachments->addColumn("Mime Type", 60); + attachments->addColumn("Mime Type", fixh-30); attachments->addColumn(i18n("Description"), 100); diff --git a/kmicromail/viewmailbase.h b/kmicromail/viewmailbase.h index 7ad1eec..7c075eb 100644 --- a/kmicromail/viewmailbase.h +++ b/kmicromail/viewmailbase.h @@ -6,2 +6,7 @@ +#ifndef DESKTOP_VERSION +#include <qpe/qpemenubar.h> +#define QMenuBar QPEMenuBar +#endif + class QAction; |