summaryrefslogtreecommitdiffabout
path: root/kmicromail
Side-by-side diff
Diffstat (limited to 'kmicromail') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/composemail.cpp28
-rw-r--r--kmicromail/composemailui.ui4
-rw-r--r--kmicromail/selectstoreui.ui8
3 files changed, 27 insertions, 13 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp
index 35ad367..5f7a76f 100644
--- a/kmicromail/composemail.cpp
+++ b/kmicromail/composemail.cpp
@@ -18,6 +18,7 @@
#include <qcombobox.h>
#include <qcheckbox.h>
+#include <qiconset.h>
#include <qtimer.h>
#include <qmessagebox.h>
#include <qpushbutton.h>
@@ -110,20 +111,33 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m
connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) );
mMail = 0;
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 ) {
fillValues( smtpAccountBox->currentItem() );
} else {
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" ) );
return;
- }
+ }
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
+
}
diff --git a/kmicromail/composemailui.ui b/kmicromail/composemailui.ui
index 0a5a750..c66b0c8 100644
--- a/kmicromail/composemailui.ui
+++ b/kmicromail/composemailui.ui
@@ -13,7 +13,7 @@
<x>0</x>
<y>0</y>
<width>276</width>
- <height>262</height>
+ <height>263</height>
</rect>
</property>
<property stdset="1">
@@ -447,7 +447,7 @@
</property>
<property stdset="1">
<name>text</name>
- <string>Save</string>
+ <string> S</string>
</property>
</widget>
</grid>
diff --git a/kmicromail/selectstoreui.ui b/kmicromail/selectstoreui.ui
index 2da103b..89f6ebc 100644
--- a/kmicromail/selectstoreui.ui
+++ b/kmicromail/selectstoreui.ui
@@ -12,8 +12,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>279</width>
- <height>304</height>
+ <width>230</width>
+ <height>307</height>
</rect>
</property>
<property stdset="1">
@@ -182,7 +182,7 @@
</property>
<property stdset="1">
<name>text</name>
- <string>Prefix will prepend, no need to enter it!</string>
+ <string>Prefix will prepend, do not enter</string>
</property>
<property stdset="1">
<name>alignment</name>
@@ -246,7 +246,7 @@
</property>
<property stdset="1">
<name>text</name>
- <string>apply only to mails smaller</string>
+ <string>only mails smaller</string>
</property>
</widget>
<widget row="7" column="1" >