summaryrefslogtreecommitdiffabout
path: root/kmicromail/composemail.cpp
authorzautrix <zautrix>2004-10-25 23:39:31 (UTC)
committer zautrix <zautrix>2004-10-25 23:39:31 (UTC)
commite7c948b76a46c923c21f2f35c677912b462fa1f4 (patch) (side-by-side diff)
treea9f9a0c696ea3809f2e0bfc27e643d70c4e123e3 /kmicromail/composemail.cpp
parent86ad7f5fe2a20f9dfd37d6891b57b326f8ee507b (diff)
downloadkdepimpi-e7c948b76a46c923c21f2f35c677912b462fa1f4.zip
kdepimpi-e7c948b76a46c923c21f2f35c677912b462fa1f4.tar.gz
kdepimpi-e7c948b76a46c923c21f2f35c677912b462fa1f4.tar.bz2
kopiemail fixes
Diffstat (limited to 'kmicromail/composemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/composemail.cpp26
1 files changed, 20 insertions, 6 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp
index 35ad367..5f7a76f 100644
--- a/kmicromail/composemail.cpp
+++ b/kmicromail/composemail.cpp
@@ -20,2 +20,3 @@
#include <qcheckbox.h>
+#include <qiconset.h>
#include <qtimer.h>
@@ -112,2 +113,19 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m
warnAttach = true;
+ QIconSet icon;
+ //icon = SmallIcon("fileexport");
+ icon = SmallIcon("filesave");
+ SaveButton->setIconSet (icon ) ;
+ if ( QApplication::desktop()->width() < 320 ) {
+ SaveButton->setText ("") ;
+ SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ;
+ }
+ else
+ SaveButton->setText (i18n("Save"));
+#ifndef DESKTOP_VERSION
+ QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold );
+ QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold );
+ QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold );
+#endif
+ message->setFont ( KOPrefs::instance()->mComposeFont );
+ message->setWordWrap (QMultiLineEdit::WidgetWidth);
if ( smtpAccounts.count() > 0 ) {
@@ -116,3 +134,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m
QMessageBox::information( 0, i18n( "Problem" ),
- i18n( "Please create an SMTP account first.\nThe SMTP is needed for sending mail.\n" ),
+ i18n( "Please create an\nSMTP account first.\nThe SMTP is needed\nfor sending mail.\n" ),
i18n( "Ok" ) );
@@ -121,7 +139,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m
connect( smtpAccountBox, SIGNAL( activated(int) ), SLOT( fillValues(int) ) );
- message->setFont ( KOPrefs::instance()->mComposeFont );
- message->setWordWrap (QMultiLineEdit::WidgetWidth);
-#ifndef DESKTOP_VERSION
- QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold );
-#endif
+