author | zautrix <zautrix> | 2004-10-25 23:39:43 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-25 23:39:43 (UTC) |
commit | 7bf9517920766c9cd5e032af9cdd1e07d6604b6b (patch) (unidiff) | |
tree | 10ff3855615ba19505907be8ab2f0268f76f3ae1 | |
parent | e7c948b76a46c923c21f2f35c677912b462fa1f4 (diff) | |
download | kdepimpi-7bf9517920766c9cd5e032af9cdd1e07d6604b6b.zip kdepimpi-7bf9517920766c9cd5e032af9cdd1e07d6604b6b.tar.gz kdepimpi-7bf9517920766c9cd5e032af9cdd1e07d6604b6b.tar.bz2 |
kopiemail fixes
-rw-r--r-- | kmicromail/composemail.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 5f7a76f..c504fdd 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp | |||
@@ -109,23 +109,20 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m | |||
109 | connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) ); | 109 | connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) ); |
110 | connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) ); | 110 | connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) ); |
111 | connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) ); | 111 | connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) ); |
112 | mMail = 0; | 112 | mMail = 0; |
113 | warnAttach = true; | 113 | warnAttach = true; |
114 | QIconSet icon; | 114 | QIconSet icon; |
115 | //icon = SmallIcon("fileexport"); | 115 | //icon = SmallIcon("fileexport"); |
116 | icon = SmallIcon("filesave"); | 116 | icon = SmallIcon("filesave"); |
117 | |||
118 | SaveButton->setText ("") ; | ||
117 | SaveButton->setIconSet (icon ) ; | 119 | SaveButton->setIconSet (icon ) ; |
118 | if ( QApplication::desktop()->width() < 320 ) { | 120 | SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ; |
119 | SaveButton->setText ("") ; | ||
120 | SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ; | ||
121 | } | ||
122 | else | ||
123 | SaveButton->setText (i18n("Save")); | ||
124 | #ifndef DESKTOP_VERSION | 121 | #ifndef DESKTOP_VERSION |
125 | QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); | 122 | QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); |
126 | QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold ); | 123 | QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold ); |
127 | QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold ); | 124 | QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold ); |
128 | #endif | 125 | #endif |
129 | message->setFont ( KOPrefs::instance()->mComposeFont ); | 126 | message->setFont ( KOPrefs::instance()->mComposeFont ); |
130 | message->setWordWrap (QMultiLineEdit::WidgetWidth); | 127 | message->setWordWrap (QMultiLineEdit::WidgetWidth); |
131 | if ( smtpAccounts.count() > 0 ) { | 128 | if ( smtpAccounts.count() > 0 ) { |