summaryrefslogtreecommitdiffabout
path: root/kmicromail
Unidiff
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
@@ -1,318 +1,332 @@
1// CHANGED 2004-08-06 Lutz Rogowski 1// CHANGED 2004-08-06 Lutz Rogowski
2 2
3#include "composemail.h" 3#include "composemail.h"
4 4
5#include <libmailwrapper/smtpwrapper.h> 5#include <libmailwrapper/smtpwrapper.h>
6#include <libmailwrapper/storemail.h> 6#include <libmailwrapper/storemail.h>
7#include <libmailwrapper/abstractmail.h> 7#include <libmailwrapper/abstractmail.h>
8#include <libmailwrapper/mailtypes.h> 8#include <libmailwrapper/mailtypes.h>
9 9
10/* OPIE */ 10/* OPIE */
11//#include <opie2/ofiledialog.h> 11//#include <opie2/ofiledialog.h>
12//#include <opie2/odebug.h> 12//#include <opie2/odebug.h>
13#include <kfiledialog.h> 13#include <kfiledialog.h>
14//#include <qpe/resource.h> 14//#include <qpe/resource.h>
15#include <qpe/global.h> 15#include <qpe/global.h>
16//#include <qpe/contact.h> 16//#include <qpe/contact.h>
17 17
18 18
19#include <qcombobox.h> 19#include <qcombobox.h>
20#include <qcheckbox.h> 20#include <qcheckbox.h>
21#include <qiconset.h>
21#include <qtimer.h> 22#include <qtimer.h>
22#include <qmessagebox.h> 23#include <qmessagebox.h>
23#include <qpushbutton.h> 24#include <qpushbutton.h>
24#include <qmultilineedit.h> 25#include <qmultilineedit.h>
25#include <qlabel.h> 26#include <qlabel.h>
26#include <qtabwidget.h> 27#include <qtabwidget.h>
27#include <qlistview.h> 28#include <qlistview.h>
28#include <kabc/addresseedialog.h> 29#include <kabc/addresseedialog.h>
29#include <kabc/stdaddressbook.h> 30#include <kabc/stdaddressbook.h>
30#include <kabc/addressee.h> 31#include <kabc/addressee.h>
31#ifdef DESKTOP_VERSION 32#ifdef DESKTOP_VERSION
32#include <kabc/addresseedialog.h> 33#include <kabc/addresseedialog.h>
33#else //DESKTOP_VERSION 34#else //DESKTOP_VERSION
34#include <libkdepim/externalapphandler.h> 35#include <libkdepim/externalapphandler.h>
35#endif //DESKTOP_VERSION 36#endif //DESKTOP_VERSION
36 37
37#include "koprefs.h" 38#include "koprefs.h"
38 39
39//using namespace Opie::Core; 40//using namespace Opie::Core;
40//using namespace Opie::Ui; 41//using namespace Opie::Ui;
41ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal ) 42ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal )
42 : ComposeMailUI( parent, name, modal ) 43 : ComposeMailUI( parent, name, modal )
43{ 44{
44 mPickLineEdit = 0; 45 mPickLineEdit = 0;
45 connect(ExternalAppHandler::instance(), SIGNAL(receivedNameEmailUidListEvent(const QString&, const QStringList&, const QStringList&, const QStringList&)), 46 connect(ExternalAppHandler::instance(), SIGNAL(receivedNameEmailUidListEvent(const QString&, const QStringList&, const QStringList&, const QStringList&)),
46 this, SLOT(insertAttendees(const QString&, const QStringList&, const QStringList&, const QStringList&))); 47 this, SLOT(insertAttendees(const QString&, const QStringList&, const QStringList&, const QStringList&)));
47 settings = s; 48 settings = s;
48 m_replyid = ""; 49 m_replyid = "";
49 if ( KOPrefs::instance()->mUseKapi) { 50 if ( KOPrefs::instance()->mUseKapi) {
50 KConfig config( locateLocal("config", "kabcrc") ); 51 KConfig config( locateLocal("config", "kabcrc") );
51 config.setGroup( "General" ); 52 config.setGroup( "General" );
52 QString whoami_uid = config.readEntry( "WhoAmI" ); 53 QString whoami_uid = config.readEntry( "WhoAmI" );
53 54
54 if ( whoami_uid.isEmpty() ) { 55 if ( whoami_uid.isEmpty() ) {
55 QMessageBox::information( 0, i18n( "Hint" ), 56 QMessageBox::information( 0, i18n( "Hint" ),
56 i18n( "Please apply\n\"Set Who Am I\"\nin KA/Pi to get the from\nfield automatically filled out!\n" ), 57 i18n( "Please apply\n\"Set Who Am I\"\nin KA/Pi to get the from\nfield automatically filled out!\n" ),
57 i18n( "Ok" ) ); 58 i18n( "Ok" ) );
58 59
59 60
60 fillSettings(); 61 fillSettings();
61 } else 62 } else
62 ExternalAppHandler::instance()->requestDetailsFromKAPI("", "sendbacklist", whoami_uid); 63 ExternalAppHandler::instance()->requestDetailsFromKAPI("", "sendbacklist", whoami_uid);
63 64
64 65
65#ifdef DESKTOP_VERSION 66#ifdef DESKTOP_VERSION
66 KABC::Addressee con = KABC::StdAddressBook::self()->whoAmI( ); 67 KABC::Addressee con = KABC::StdAddressBook::self()->whoAmI( );
67 QStringList mails = con.emails(); 68 QStringList mails = con.emails();
68 QString defmail = con.preferredEmail(); 69 QString defmail = con.preferredEmail();
69 if ( mails.count() == 0) 70 if ( mails.count() == 0)
70 QMessageBox::information( 0, i18n( "Hint" ), 71 QMessageBox::information( 0, i18n( "Hint" ),
71 i18n( "Please apply\n\"Set Who Am I\"\nin KA/Pi to get the from\nfield automatically filled out!\n" ), 72 i18n( "Please apply\n\"Set Who Am I\"\nin KA/Pi to get the from\nfield automatically filled out!\n" ),
72 i18n( "Ok" ) ); 73 i18n( "Ok" ) );
73 if (defmail.length()!=0) { 74 if (defmail.length()!=0) {
74 fromBox->insertItem(defmail); 75 fromBox->insertItem(defmail);
75 } 76 }
76 QStringList::ConstIterator sit = mails.begin(); 77 QStringList::ConstIterator sit = mails.begin();
77 for (;sit!=mails.end();++sit) { 78 for (;sit!=mails.end();++sit) {
78 if ( (*sit)==defmail) 79 if ( (*sit)==defmail)
79 continue; 80 continue;
80 fromBox->insertItem((*sit)); 81 fromBox->insertItem((*sit));
81 } 82 }
82 senderNameEdit->setText(con.formattedName()); 83 senderNameEdit->setText(con.formattedName());
83#endif 84#endif
84 85
85 } else { 86 } else {
86 fillSettings(); 87 fillSettings();
87 } 88 }
88 checkBoxLater->setChecked( KOPrefs::instance()->mSendLater ); 89 checkBoxLater->setChecked( KOPrefs::instance()->mSendLater );
89 90
90 attList->addColumn( i18n( "Name" ) ); 91 attList->addColumn( i18n( "Name" ) );
91 attList->addColumn( i18n( "Size" ) ); 92 attList->addColumn( i18n( "Size" ) );
92 QList<Account> accounts = settings->getAccounts(); 93 QList<Account> accounts = settings->getAccounts();
93 94
94 if ( QApplication::desktop()->width() < 320 ) 95 if ( QApplication::desktop()->width() < 320 )
95 smtpAccountBox->setMaximumWidth( 80 ); 96 smtpAccountBox->setMaximumWidth( 80 );
96 Account *it; 97 Account *it;
97 for ( it = accounts.first(); it; it = accounts.next() ) { 98 for ( it = accounts.first(); it; it = accounts.next() ) {
98 if ( it->getType()==MAILLIB::A_SMTP ) { 99 if ( it->getType()==MAILLIB::A_SMTP ) {
99 SMTPaccount *smtp = static_cast<SMTPaccount *>(it); 100 SMTPaccount *smtp = static_cast<SMTPaccount *>(it);
100 smtpAccountBox->insertItem( smtp->getAccountName() ); 101 smtpAccountBox->insertItem( smtp->getAccountName() );
101 smtpAccounts.append( smtp ); 102 smtpAccounts.append( smtp );
102 } 103 }
103 } 104 }
104 connect( toButton, SIGNAL( clicked() ), SLOT( pickAddressTo() ) ); 105 connect( toButton, SIGNAL( clicked() ), SLOT( pickAddressTo() ) );
105 connect( ccButton, SIGNAL( clicked() ), SLOT( pickAddressCC() ) ); 106 connect( ccButton, SIGNAL( clicked() ), SLOT( pickAddressCC() ) );
106 connect( bccButton, SIGNAL( clicked() ), SLOT( pickAddressBCC() ) ); 107 connect( bccButton, SIGNAL( clicked() ), SLOT( pickAddressBCC() ) );
107 connect( replyButton, SIGNAL( clicked() ), SLOT( pickAddressReply() ) ); 108 connect( replyButton, SIGNAL( clicked() ), SLOT( pickAddressReply() ) );
108 connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) ); 109 connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) );
109 connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) ); 110 connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) );
110 connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) ); 111 connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) );
111 mMail = 0; 112 mMail = 0;
112 warnAttach = true; 113 warnAttach = true;
114 QIconSet icon;
115 //icon = SmallIcon("fileexport");
116 icon = SmallIcon("filesave");
117 SaveButton->setIconSet (icon ) ;
118 if ( QApplication::desktop()->width() < 320 ) {
119 SaveButton->setText ("") ;
120 SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ;
121 }
122 else
123 SaveButton->setText (i18n("Save"));
124#ifndef DESKTOP_VERSION
125 QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold );
126 QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold );
127 QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold );
128#endif
129 message->setFont ( KOPrefs::instance()->mComposeFont );
130 message->setWordWrap (QMultiLineEdit::WidgetWidth);
113 if ( smtpAccounts.count() > 0 ) { 131 if ( smtpAccounts.count() > 0 ) {
114 fillValues( smtpAccountBox->currentItem() ); 132 fillValues( smtpAccountBox->currentItem() );
115 } else { 133 } else {
116 QMessageBox::information( 0, i18n( "Problem" ), 134 QMessageBox::information( 0, i18n( "Problem" ),
117 i18n( "Please create an SMTP account first.\nThe SMTP is needed for sending mail.\n" ), 135 i18n( "Please create an\nSMTP account first.\nThe SMTP is needed\nfor sending mail.\n" ),
118 i18n( "Ok" ) ); 136 i18n( "Ok" ) );
119 return; 137 return;
120 } 138 }
121 connect( smtpAccountBox, SIGNAL( activated(int) ), SLOT( fillValues(int) ) ); 139 connect( smtpAccountBox, SIGNAL( activated(int) ), SLOT( fillValues(int) ) );
122 message->setFont ( KOPrefs::instance()->mComposeFont ); 140
123 message->setWordWrap (QMultiLineEdit::WidgetWidth);
124#ifndef DESKTOP_VERSION
125 QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold );
126#endif
127 141
128} 142}
129 143
130void ComposeMail::fillSettings() 144void ComposeMail::fillSettings()
131{ 145{
132 if ( QApplication::desktop()->width() < 320 ) 146 if ( QApplication::desktop()->width() < 320 )
133 fromBox->setMaximumWidth( 100 ); 147 fromBox->setMaximumWidth( 100 );
134 QStringList mailList = QStringList::split(";",KOPrefs::instance()->mEmail); 148 QStringList mailList = QStringList::split(";",KOPrefs::instance()->mEmail);
135 QStringList::ConstIterator sit = mailList.begin(); 149 QStringList::ConstIterator sit = mailList.begin();
136 int pref = 0; 150 int pref = 0;
137 for (;sit!=mailList.end();++sit) { 151 for (;sit!=mailList.end();++sit) {
138 fromBox->insertItem((*sit)); 152 fromBox->insertItem((*sit));
139 } 153 }
140 senderNameEdit->setText(KOPrefs::instance()->mName); 154 senderNameEdit->setText(KOPrefs::instance()->mName);
141} 155}
142 156
143 157
144void ComposeMail::saveAsDraft() 158void ComposeMail::saveAsDraft()
145{ 159{
146 160
147 Opie::Core::OSmartPointer<Mail> mail= new Mail(); 161 Opie::Core::OSmartPointer<Mail> mail= new Mail();
148 mail->setMail(fromBox->currentText()); 162 mail->setMail(fromBox->currentText());
149 mail->setTo( toLine->text() ); 163 mail->setTo( toLine->text() );
150 mail->setName(senderNameEdit->text()); 164 mail->setName(senderNameEdit->text());
151 mail->setCC( ccLine->text() ); 165 mail->setCC( ccLine->text() );
152 mail->setBCC( bccLine->text() ); 166 mail->setBCC( bccLine->text() );
153 mail->setReply( replyLine->text() ); 167 mail->setReply( replyLine->text() );
154 mail->setSubject( subjectLine->text() ); 168 mail->setSubject( subjectLine->text() );
155 if (!m_replyid.isEmpty()) { 169 if (!m_replyid.isEmpty()) {
156 QStringList ids; 170 QStringList ids;
157 ids.append(m_replyid); 171 ids.append(m_replyid);
158 mail->setInreply(ids); 172 mail->setInreply(ids);
159 } 173 }
160 QString txt = message->text(); 174 QString txt = message->text();
161 if ( !sigMultiLine->text().isEmpty() ) { 175 if ( !sigMultiLine->text().isEmpty() ) {
162 txt.append( "\n--\n" ); 176 txt.append( "\n--\n" );
163 txt.append( sigMultiLine->text() ); 177 txt.append( sigMultiLine->text() );
164 } 178 }
165 mail->setMessage( txt ); 179 mail->setMessage( txt );
166 180
167 /* only use the default drafts folder name! */ 181 /* only use the default drafts folder name! */
168 Storemail wrapper(AbstractMail::draftFolder()); 182 Storemail wrapper(AbstractMail::draftFolder());
169 wrapper.storeMail(mail); 183 wrapper.storeMail(mail);
170 184
171 AttachViewItem *it = (AttachViewItem *) attList->firstChild(); 185 AttachViewItem *it = (AttachViewItem *) attList->firstChild();
172 /* attachments we will ignore! */ 186 /* attachments we will ignore! */
173 if ( it != 0 ) { 187 if ( it != 0 ) {
174 if ( warnAttach ) 188 if ( warnAttach )
175 QMessageBox::warning(0,i18n("Store message"), 189 QMessageBox::warning(0,i18n("Store message"),
176 i18n("<center>Attachments will not be stored in \"Draft\" folder</center>")); 190 i18n("<center>Attachments will not be stored in \"Draft\" folder</center>"));
177 warnAttach = false; 191 warnAttach = false;
178 } 192 }
179 setStatus( i18n("Mail saved as draft!") ); 193 setStatus( i18n("Mail saved as draft!") );
180} 194}
181void ComposeMail::clearStatus() 195void ComposeMail::clearStatus()
182{ 196{
183 topLevelWidget()->setCaption( i18n("Compose mail") ); 197 topLevelWidget()->setCaption( i18n("Compose mail") );
184} 198}
185void ComposeMail::setStatus( QString status ) 199void ComposeMail::setStatus( QString status )
186{ 200{
187 topLevelWidget()->setCaption( status ); 201 topLevelWidget()->setCaption( status );
188 QTimer::singleShot ( 10000, this, SLOT( clearStatus() ) ) ; 202 QTimer::singleShot ( 10000, this, SLOT( clearStatus() ) ) ;
189} 203}
190void ComposeMail::pickAddress( ) 204void ComposeMail::pickAddress( )
191{ 205{
192 206
193 QLineEdit *line = mPickLineEdit; 207 QLineEdit *line = mPickLineEdit;
194 if ( line == 0 ) 208 if ( line == 0 )
195 return; 209 return;
196#ifdef DESKTOP_VERSION 210#ifdef DESKTOP_VERSION
197 //qDebug(" ComposeMail::pickAddress "); 211 //qDebug(" ComposeMail::pickAddress ");
198 QString names ;//= AddressPicker::getNames(); 212 QString names ;//= AddressPicker::getNames();
199 213
200 KABC::Addressee::List list = KABC::AddresseeDialog::getAddressees(this); 214 KABC::Addressee::List list = KABC::AddresseeDialog::getAddressees(this);
201 uint i=0; 215 uint i=0;
202 for (i=0; i < list.count(); i++) { 216 for (i=0; i < list.count(); i++) {
203 if ( !list[i].preferredEmail().isEmpty()) { 217 if ( !list[i].preferredEmail().isEmpty()) {
204 if ( ! names.isEmpty() ) 218 if ( ! names.isEmpty() )
205 names+= ","; 219 names+= ",";
206 names+= "\""+list[i].realName() +"\"<" +list[i].preferredEmail() +">"; 220 names+= "\""+list[i].realName() +"\"<" +list[i].preferredEmail() +">";
207 221
208 } 222 }
209 } 223 }
210 224
211 225
212 if ( line->text().isEmpty() ) { 226 if ( line->text().isEmpty() ) {
213 line->setText( names ); 227 line->setText( names );
214 } else if ( !names.isEmpty() ) { 228 } else if ( !names.isEmpty() ) {
215 line->setText( line->text() + ", " + names ); 229 line->setText( line->text() + ", " + names );
216 } 230 }
217#else 231#else
218 bool res = ExternalAppHandler::instance()->requestNameEmailUidListFromKAPI("QPE/Application/ompi", this->name() /* name is here the unique uid*/); 232 bool res = ExternalAppHandler::instance()->requestNameEmailUidListFromKAPI("QPE/Application/ompi", this->name() /* name is here the unique uid*/);
219 // the result should now arrive through method insertAttendees 233 // the result should now arrive through method insertAttendees
220#endif 234#endif
221} 235}
222//the map includes name/email pairs, that comes from Ka/Pi 236//the map includes name/email pairs, that comes from Ka/Pi
223void ComposeMail::insertAttendees(const QString& uid,const QStringList& nameList,const QStringList& emailList,const QStringList& uidList) 237void ComposeMail::insertAttendees(const QString& uid,const QStringList& nameList,const QStringList& emailList,const QStringList& uidList)
224{ 238{
225 //qDebug("ComposeMail::insertAttendees "); 239 //qDebug("ComposeMail::insertAttendees ");
226 raise(); 240 raise();
227 241
228 if ( mPickLineEdit == 0 ) { //whoami received 242 if ( mPickLineEdit == 0 ) { //whoami received
229 QString defmail = uidList[0]; 243 QString defmail = uidList[0];
230 if ( emailList.count() == 0 ) 244 if ( emailList.count() == 0 )
231 QMessageBox::information( 0, i18n( "Hint" ), 245 QMessageBox::information( 0, i18n( "Hint" ),
232 i18n( "Please apply\n\"Set Who Am I\"\nin KA/Pi to get the from\nfield automatically filled out!\n" ), 246 i18n( "Please apply\n\"Set Who Am I\"\nin KA/Pi to get the from\nfield automatically filled out!\n" ),
233 i18n( "Ok" ) ); 247 i18n( "Ok" ) );
234 if (defmail.length()!=0) { 248 if (defmail.length()!=0) {
235 fromBox->insertItem(defmail); 249 fromBox->insertItem(defmail);
236 } 250 }
237 QStringList::ConstIterator sit = emailList.begin(); 251 QStringList::ConstIterator sit = emailList.begin();
238 int pref = 0; 252 int pref = 0;
239 for (;sit!=emailList.end();++sit) { 253 for (;sit!=emailList.end();++sit) {
240 if ( (*sit)==defmail) 254 if ( (*sit)==defmail)
241 continue; 255 continue;
242 fromBox->insertItem((*sit)); 256 fromBox->insertItem((*sit));
243 } 257 }
244 senderNameEdit->setText(nameList[0]); 258 senderNameEdit->setText(nameList[0]);
245 return; 259 return;
246 } 260 }
247 QString names ; 261 QString names ;
248 QLineEdit *line = mPickLineEdit; 262 QLineEdit *line = mPickLineEdit;
249 if (uid == this->name()) 263 if (uid == this->name())
250 { 264 {
251 for ( int i = 0; i < nameList.count(); i++) 265 for ( int i = 0; i < nameList.count(); i++)
252 { 266 {
253 QString _name = nameList[i]; 267 QString _name = nameList[i];
254 QString _email = emailList[i]; 268 QString _email = emailList[i];
255 QString _uid = uidList[i]; 269 QString _uid = uidList[i];
256 if ( ! _email.isEmpty() ) { 270 if ( ! _email.isEmpty() ) {
257 if ( ! names.isEmpty() ) 271 if ( ! names.isEmpty() )
258 names+= ","; 272 names+= ",";
259 names+= "\""+_name +"\"<" +_email +">"; 273 names+= "\""+_name +"\"<" +_email +">";
260 } 274 }
261 } 275 }
262 } 276 }
263 if ( line->text().isEmpty() ) { 277 if ( line->text().isEmpty() ) {
264 line->setText( names ); 278 line->setText( names );
265 } else if ( !names.isEmpty() ) { 279 } else if ( !names.isEmpty() ) {
266 line->setText( line->text() + ", " + names ); 280 line->setText( line->text() + ", " + names );
267 } 281 }
268} 282}
269 283
270void ComposeMail::setTo( const QString & to ) 284void ComposeMail::setTo( const QString & to )
271{ 285{
272 toLine->setText( to ); 286 toLine->setText( to );
273} 287}
274 288
275void ComposeMail::setSubject( const QString & subject ) 289void ComposeMail::setSubject( const QString & subject )
276{ 290{
277 subjectLine->setText( subject ); 291 subjectLine->setText( subject );
278} 292}
279 293
280void ComposeMail::setInReplyTo( const QString & messageId ) 294void ComposeMail::setInReplyTo( const QString & messageId )
281{ 295{
282 m_replyid = messageId; 296 m_replyid = messageId;
283} 297}
284 298
285void ComposeMail::setMessage( const QString & text ) 299void ComposeMail::setMessage( const QString & text )
286{ 300{
287 message->setText( text ); 301 message->setText( text );
288} 302}
289 303
290 304
291void ComposeMail::pickAddressTo() 305void ComposeMail::pickAddressTo()
292{ 306{
293 mPickLineEdit = toLine; 307 mPickLineEdit = toLine;
294 pickAddress( ); 308 pickAddress( );
295} 309}
296 310
297void ComposeMail::pickAddressCC() 311void ComposeMail::pickAddressCC()
298{ 312{
299 mPickLineEdit = ccLine; 313 mPickLineEdit = ccLine;
300 pickAddress( ); 314 pickAddress( );
301} 315}
302 316
303void ComposeMail::pickAddressBCC() 317void ComposeMail::pickAddressBCC()
304{ 318{
305 mPickLineEdit = bccLine; 319 mPickLineEdit = bccLine;
306 pickAddress( ); 320 pickAddress( );
307} 321}
308 322
309void ComposeMail::pickAddressReply() 323void ComposeMail::pickAddressReply()
310{ 324{
311 mPickLineEdit = replyLine; 325 mPickLineEdit = replyLine;
312 pickAddress( ); 326 pickAddress( );
313} 327}
314 328
315void ComposeMail::fillValues( int ) 329void ComposeMail::fillValues( int )
316{ 330{
317#if 0 331#if 0
318 SMTPaccount *smtp = smtpAccounts.at( current ); 332 SMTPaccount *smtp = smtpAccounts.at( current );
diff --git a/kmicromail/composemailui.ui b/kmicromail/composemailui.ui
index 0a5a750..c66b0c8 100644
--- a/kmicromail/composemailui.ui
+++ b/kmicromail/composemailui.ui
@@ -1,208 +1,208 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>ComposeMailUI</class> 2<class>ComposeMailUI</class>
3<include location="local">tr.h</include> 3<include location="local">tr.h</include>
4<widget> 4<widget>
5 <class>QDialog</class> 5 <class>QDialog</class>
6 <property stdset="1"> 6 <property stdset="1">
7 <name>name</name> 7 <name>name</name>
8 <cstring>ComposeMailUI</cstring> 8 <cstring>ComposeMailUI</cstring>
9 </property> 9 </property>
10 <property stdset="1"> 10 <property stdset="1">
11 <name>geometry</name> 11 <name>geometry</name>
12 <rect> 12 <rect>
13 <x>0</x> 13 <x>0</x>
14 <y>0</y> 14 <y>0</y>
15 <width>276</width> 15 <width>276</width>
16 <height>262</height> 16 <height>263</height>
17 </rect> 17 </rect>
18 </property> 18 </property>
19 <property stdset="1"> 19 <property stdset="1">
20 <name>caption</name> 20 <name>caption</name>
21 <string>Compose Message</string> 21 <string>Compose Message</string>
22 </property> 22 </property>
23 <property> 23 <property>
24 <name>layoutMargin</name> 24 <name>layoutMargin</name>
25 </property> 25 </property>
26 <property> 26 <property>
27 <name>layoutSpacing</name> 27 <name>layoutSpacing</name>
28 </property> 28 </property>
29 <grid> 29 <grid>
30 <property stdset="1"> 30 <property stdset="1">
31 <name>margin</name> 31 <name>margin</name>
32 <number>2</number> 32 <number>2</number>
33 </property> 33 </property>
34 <property stdset="1"> 34 <property stdset="1">
35 <name>spacing</name> 35 <name>spacing</name>
36 <number>1</number> 36 <number>1</number>
37 </property> 37 </property>
38 <widget row="1" column="0" rowspan="1" colspan="4" > 38 <widget row="1" column="0" rowspan="1" colspan="4" >
39 <class>QTabWidget</class> 39 <class>QTabWidget</class>
40 <property stdset="1"> 40 <property stdset="1">
41 <name>name</name> 41 <name>name</name>
42 <cstring>tabWidget</cstring> 42 <cstring>tabWidget</cstring>
43 </property> 43 </property>
44 <property> 44 <property>
45 <name>layoutMargin</name> 45 <name>layoutMargin</name>
46 </property> 46 </property>
47 <property> 47 <property>
48 <name>layoutSpacing</name> 48 <name>layoutSpacing</name>
49 </property> 49 </property>
50 <widget> 50 <widget>
51 <class>QWidget</class> 51 <class>QWidget</class>
52 <property stdset="1"> 52 <property stdset="1">
53 <name>name</name> 53 <name>name</name>
54 <cstring>mailTab</cstring> 54 <cstring>mailTab</cstring>
55 </property> 55 </property>
56 <attribute> 56 <attribute>
57 <name>title</name> 57 <name>title</name>
58 <string>Mail</string> 58 <string>Mail</string>
59 </attribute> 59 </attribute>
60 <vbox> 60 <vbox>
61 <property stdset="1"> 61 <property stdset="1">
62 <name>margin</name> 62 <name>margin</name>
63 <number>1</number> 63 <number>1</number>
64 </property> 64 </property>
65 <property stdset="1"> 65 <property stdset="1">
66 <name>spacing</name> 66 <name>spacing</name>
67 <number>1</number> 67 <number>1</number>
68 </property> 68 </property>
69 <widget> 69 <widget>
70 <class>QLayoutWidget</class> 70 <class>QLayoutWidget</class>
71 <property stdset="1"> 71 <property stdset="1">
72 <name>name</name> 72 <name>name</name>
73 <cstring>Layout10</cstring> 73 <cstring>Layout10</cstring>
74 </property> 74 </property>
75 <property> 75 <property>
76 <name>layoutSpacing</name> 76 <name>layoutSpacing</name>
77 </property> 77 </property>
78 <grid> 78 <grid>
79 <property stdset="1"> 79 <property stdset="1">
80 <name>margin</name> 80 <name>margin</name>
81 <number>0</number> 81 <number>0</number>
82 </property> 82 </property>
83 <property stdset="1"> 83 <property stdset="1">
84 <name>spacing</name> 84 <name>spacing</name>
85 <number>1</number> 85 <number>1</number>
86 </property> 86 </property>
87 <widget row="0" column="1" > 87 <widget row="0" column="1" >
88 <class>QLayoutWidget</class> 88 <class>QLayoutWidget</class>
89 <property stdset="1"> 89 <property stdset="1">
90 <name>name</name> 90 <name>name</name>
91 <cstring>Layout9</cstring> 91 <cstring>Layout9</cstring>
92 </property> 92 </property>
93 <property> 93 <property>
94 <name>layoutSpacing</name> 94 <name>layoutSpacing</name>
95 </property> 95 </property>
96 <grid> 96 <grid>
97 <property stdset="1"> 97 <property stdset="1">
98 <name>margin</name> 98 <name>margin</name>
99 <number>0</number> 99 <number>0</number>
100 </property> 100 </property>
101 <property stdset="1"> 101 <property stdset="1">
102 <name>spacing</name> 102 <name>spacing</name>
103 <number>3</number> 103 <number>3</number>
104 </property> 104 </property>
105 <widget row="0" column="1" > 105 <widget row="0" column="1" >
106 <class>QComboBox</class> 106 <class>QComboBox</class>
107 <property stdset="1"> 107 <property stdset="1">
108 <name>name</name> 108 <name>name</name>
109 <cstring>fromBox</cstring> 109 <cstring>fromBox</cstring>
110 </property> 110 </property>
111 <property stdset="1"> 111 <property stdset="1">
112 <name>sizePolicy</name> 112 <name>sizePolicy</name>
113 <sizepolicy> 113 <sizepolicy>
114 <hsizetype>3</hsizetype> 114 <hsizetype>3</hsizetype>
115 <vsizetype>0</vsizetype> 115 <vsizetype>0</vsizetype>
116 </sizepolicy> 116 </sizepolicy>
117 </property> 117 </property>
118 <property stdset="1"> 118 <property stdset="1">
119 <name>editable</name> 119 <name>editable</name>
120 <bool>true</bool> 120 <bool>true</bool>
121 </property> 121 </property>
122 <property stdset="1"> 122 <property stdset="1">
123 <name>duplicatesEnabled</name> 123 <name>duplicatesEnabled</name>
124 <bool>false</bool> 124 <bool>false</bool>
125 </property> 125 </property>
126 </widget> 126 </widget>
127 <widget row="0" column="0" > 127 <widget row="0" column="0" >
128 <class>QLineEdit</class> 128 <class>QLineEdit</class>
129 <property stdset="1"> 129 <property stdset="1">
130 <name>name</name> 130 <name>name</name>
131 <cstring>senderNameEdit</cstring> 131 <cstring>senderNameEdit</cstring>
132 </property> 132 </property>
133 <property stdset="1"> 133 <property stdset="1">
134 <name>sizePolicy</name> 134 <name>sizePolicy</name>
135 <sizepolicy> 135 <sizepolicy>
136 <hsizetype>0</hsizetype> 136 <hsizetype>0</hsizetype>
137 <vsizetype>0</vsizetype> 137 <vsizetype>0</vsizetype>
138 </sizepolicy> 138 </sizepolicy>
139 </property> 139 </property>
140 <property stdset="1"> 140 <property stdset="1">
141 <name>minimumSize</name> 141 <name>minimumSize</name>
142 <size> 142 <size>
143 <width>70</width> 143 <width>70</width>
144 <height>0</height> 144 <height>0</height>
145 </size> 145 </size>
146 </property> 146 </property>
147 <property stdset="1"> 147 <property stdset="1">
148 <name>maximumSize</name> 148 <name>maximumSize</name>
149 <size> 149 <size>
150 <width>180</width> 150 <width>180</width>
151 <height>32767</height> 151 <height>32767</height>
152 </size> 152 </size>
153 </property> 153 </property>
154 </widget> 154 </widget>
155 </grid> 155 </grid>
156 </widget> 156 </widget>
157 <widget row="2" column="1" > 157 <widget row="2" column="1" >
158 <class>QLineEdit</class> 158 <class>QLineEdit</class>
159 <property stdset="1"> 159 <property stdset="1">
160 <name>name</name> 160 <name>name</name>
161 <cstring>subjectLine</cstring> 161 <cstring>subjectLine</cstring>
162 </property> 162 </property>
163 <property stdset="1"> 163 <property stdset="1">
164 <name>sizePolicy</name> 164 <name>sizePolicy</name>
165 <sizepolicy> 165 <sizepolicy>
166 <hsizetype>3</hsizetype> 166 <hsizetype>3</hsizetype>
167 <vsizetype>0</vsizetype> 167 <vsizetype>0</vsizetype>
168 </sizepolicy> 168 </sizepolicy>
169 </property> 169 </property>
170 </widget> 170 </widget>
171 <widget row="1" column="1" > 171 <widget row="1" column="1" >
172 <class>QLineEdit</class> 172 <class>QLineEdit</class>
173 <property stdset="1"> 173 <property stdset="1">
174 <name>name</name> 174 <name>name</name>
175 <cstring>toLine</cstring> 175 <cstring>toLine</cstring>
176 </property> 176 </property>
177 <property stdset="1"> 177 <property stdset="1">
178 <name>sizePolicy</name> 178 <name>sizePolicy</name>
179 <sizepolicy> 179 <sizepolicy>
180 <hsizetype>3</hsizetype> 180 <hsizetype>3</hsizetype>
181 <vsizetype>0</vsizetype> 181 <vsizetype>0</vsizetype>
182 </sizepolicy> 182 </sizepolicy>
183 </property> 183 </property>
184 </widget> 184 </widget>
185 <widget row="2" column="0" > 185 <widget row="2" column="0" >
186 <class>QLabel</class> 186 <class>QLabel</class>
187 <property stdset="1"> 187 <property stdset="1">
188 <name>name</name> 188 <name>name</name>
189 <cstring>subjectLabel</cstring> 189 <cstring>subjectLabel</cstring>
190 </property> 190 </property>
191 <property stdset="1"> 191 <property stdset="1">
192 <name>text</name> 192 <name>text</name>
193 <string>Subject</string> 193 <string>Subject</string>
194 </property> 194 </property>
195 </widget> 195 </widget>
196 <widget row="0" column="0" > 196 <widget row="0" column="0" >
197 <class>QLabel</class> 197 <class>QLabel</class>
198 <property stdset="1"> 198 <property stdset="1">
199 <name>name</name> 199 <name>name</name>
200 <cstring>fromLabel</cstring> 200 <cstring>fromLabel</cstring>
201 </property> 201 </property>
202 <property stdset="1"> 202 <property stdset="1">
203 <name>text</name> 203 <name>text</name>
204 <string>From</string> 204 <string>From</string>
205 </property> 205 </property>
206 </widget> 206 </widget>
207 <widget row="1" column="0" > 207 <widget row="1" column="0" >
208 <class>QPushButton</class> 208 <class>QPushButton</class>
@@ -258,216 +258,216 @@
258 </widget> 258 </widget>
259 <widget row="2" column="0" > 259 <widget row="2" column="0" >
260 <class>QPushButton</class> 260 <class>QPushButton</class>
261 <property stdset="1"> 261 <property stdset="1">
262 <name>name</name> 262 <name>name</name>
263 <cstring>bccButton</cstring> 263 <cstring>bccButton</cstring>
264 </property> 264 </property>
265 <property stdset="1"> 265 <property stdset="1">
266 <name>text</name> 266 <name>text</name>
267 <string>BCC</string> 267 <string>BCC</string>
268 </property> 268 </property>
269 </widget> 269 </widget>
270 <widget row="1" column="1" > 270 <widget row="1" column="1" >
271 <class>QLineEdit</class> 271 <class>QLineEdit</class>
272 <property stdset="1"> 272 <property stdset="1">
273 <name>name</name> 273 <name>name</name>
274 <cstring>ccLine</cstring> 274 <cstring>ccLine</cstring>
275 </property> 275 </property>
276 </widget> 276 </widget>
277 <widget row="2" column="1" > 277 <widget row="2" column="1" >
278 <class>QLineEdit</class> 278 <class>QLineEdit</class>
279 <property stdset="1"> 279 <property stdset="1">
280 <name>name</name> 280 <name>name</name>
281 <cstring>bccLine</cstring> 281 <cstring>bccLine</cstring>
282 </property> 282 </property>
283 </widget> 283 </widget>
284 <widget row="3" column="1" > 284 <widget row="3" column="1" >
285 <class>QLineEdit</class> 285 <class>QLineEdit</class>
286 <property stdset="1"> 286 <property stdset="1">
287 <name>name</name> 287 <name>name</name>
288 <cstring>replyLine</cstring> 288 <cstring>replyLine</cstring>
289 </property> 289 </property>
290 </widget> 290 </widget>
291 <widget row="6" column="0" rowspan="1" colspan="2" > 291 <widget row="6" column="0" rowspan="1" colspan="2" >
292 <class>QMultiLineEdit</class> 292 <class>QMultiLineEdit</class>
293 <property stdset="1"> 293 <property stdset="1">
294 <name>name</name> 294 <name>name</name>
295 <cstring>sigMultiLine</cstring> 295 <cstring>sigMultiLine</cstring>
296 </property> 296 </property>
297 </widget> 297 </widget>
298 <widget row="5" column="0" > 298 <widget row="5" column="0" >
299 <class>QLabel</class> 299 <class>QLabel</class>
300 <property stdset="1"> 300 <property stdset="1">
301 <name>name</name> 301 <name>name</name>
302 <cstring>sigLabel</cstring> 302 <cstring>sigLabel</cstring>
303 </property> 303 </property>
304 <property stdset="1"> 304 <property stdset="1">
305 <name>text</name> 305 <name>text</name>
306 <string>Signature</string> 306 <string>Signature</string>
307 </property> 307 </property>
308 </widget> 308 </widget>
309 <spacer row="4" column="0" > 309 <spacer row="4" column="0" >
310 <property> 310 <property>
311 <name>name</name> 311 <name>name</name>
312 <cstring>Spacer3</cstring> 312 <cstring>Spacer3</cstring>
313 </property> 313 </property>
314 <property stdset="1"> 314 <property stdset="1">
315 <name>orientation</name> 315 <name>orientation</name>
316 <enum>Vertical</enum> 316 <enum>Vertical</enum>
317 </property> 317 </property>
318 <property stdset="1"> 318 <property stdset="1">
319 <name>sizeType</name> 319 <name>sizeType</name>
320 <enum>Expanding</enum> 320 <enum>Expanding</enum>
321 </property> 321 </property>
322 <property> 322 <property>
323 <name>sizeHint</name> 323 <name>sizeHint</name>
324 <size> 324 <size>
325 <width>20</width> 325 <width>20</width>
326 <height>20</height> 326 <height>20</height>
327 </size> 327 </size>
328 </property> 328 </property>
329 </spacer> 329 </spacer>
330 <widget row="1" column="0" > 330 <widget row="1" column="0" >
331 <class>QPushButton</class> 331 <class>QPushButton</class>
332 <property stdset="1"> 332 <property stdset="1">
333 <name>name</name> 333 <name>name</name>
334 <cstring>ccButton</cstring> 334 <cstring>ccButton</cstring>
335 </property> 335 </property>
336 <property stdset="1"> 336 <property stdset="1">
337 <name>text</name> 337 <name>text</name>
338 <string>CC</string> 338 <string>CC</string>
339 </property> 339 </property>
340 </widget> 340 </widget>
341 </grid> 341 </grid>
342 </widget> 342 </widget>
343 <widget> 343 <widget>
344 <class>QWidget</class> 344 <class>QWidget</class>
345 <property stdset="1"> 345 <property stdset="1">
346 <name>name</name> 346 <name>name</name>
347 <cstring>attachTab</cstring> 347 <cstring>attachTab</cstring>
348 </property> 348 </property>
349 <attribute> 349 <attribute>
350 <name>title</name> 350 <name>title</name>
351 <string>Attachment</string> 351 <string>Attachment</string>
352 </attribute> 352 </attribute>
353 <grid> 353 <grid>
354 <property stdset="1"> 354 <property stdset="1">
355 <name>margin</name> 355 <name>margin</name>
356 <number>4</number> 356 <number>4</number>
357 </property> 357 </property>
358 <property stdset="1"> 358 <property stdset="1">
359 <name>spacing</name> 359 <name>spacing</name>
360 <number>3</number> 360 <number>3</number>
361 </property> 361 </property>
362 <widget row="0" column="0" rowspan="1" colspan="3" > 362 <widget row="0" column="0" rowspan="1" colspan="3" >
363 <class>QListView</class> 363 <class>QListView</class>
364 <property stdset="1"> 364 <property stdset="1">
365 <name>name</name> 365 <name>name</name>
366 <cstring>attList</cstring> 366 <cstring>attList</cstring>
367 </property> 367 </property>
368 <property stdset="1"> 368 <property stdset="1">
369 <name>selectionMode</name> 369 <name>selectionMode</name>
370 <enum>Single</enum> 370 <enum>Single</enum>
371 </property> 371 </property>
372 <property stdset="1"> 372 <property stdset="1">
373 <name>allColumnsShowFocus</name> 373 <name>allColumnsShowFocus</name>
374 <bool>true</bool> 374 <bool>true</bool>
375 </property> 375 </property>
376 <property stdset="1"> 376 <property stdset="1">
377 <name>showSortIndicator</name> 377 <name>showSortIndicator</name>
378 <bool>true</bool> 378 <bool>true</bool>
379 </property> 379 </property>
380 </widget> 380 </widget>
381 <widget row="1" column="2" > 381 <widget row="1" column="2" >
382 <class>QPushButton</class> 382 <class>QPushButton</class>
383 <property stdset="1"> 383 <property stdset="1">
384 <name>name</name> 384 <name>name</name>
385 <cstring>deleteButton</cstring> 385 <cstring>deleteButton</cstring>
386 </property> 386 </property>
387 <property stdset="1"> 387 <property stdset="1">
388 <name>text</name> 388 <name>text</name>
389 <string>Delete File</string> 389 <string>Delete File</string>
390 </property> 390 </property>
391 </widget> 391 </widget>
392 <widget row="1" column="0" > 392 <widget row="1" column="0" >
393 <class>QPushButton</class> 393 <class>QPushButton</class>
394 <property stdset="1"> 394 <property stdset="1">
395 <name>name</name> 395 <name>name</name>
396 <cstring>addButton</cstring> 396 <cstring>addButton</cstring>
397 </property> 397 </property>
398 <property stdset="1"> 398 <property stdset="1">
399 <name>text</name> 399 <name>text</name>
400 <string>Add File</string> 400 <string>Add File</string>
401 </property> 401 </property>
402 </widget> 402 </widget>
403 </grid> 403 </grid>
404 </widget> 404 </widget>
405 </widget> 405 </widget>
406 <widget row="0" column="0" > 406 <widget row="0" column="0" >
407 <class>QCheckBox</class> 407 <class>QCheckBox</class>
408 <property stdset="1"> 408 <property stdset="1">
409 <name>name</name> 409 <name>name</name>
410 <cstring>checkBoxLater</cstring> 410 <cstring>checkBoxLater</cstring>
411 </property> 411 </property>
412 <property stdset="1"> 412 <property stdset="1">
413 <name>text</name> 413 <name>text</name>
414 <string>send later</string> 414 <string>send later</string>
415 </property> 415 </property>
416 </widget> 416 </widget>
417 <widget row="0" column="1" > 417 <widget row="0" column="1" >
418 <class>QLabel</class> 418 <class>QLabel</class>
419 <property stdset="1"> 419 <property stdset="1">
420 <name>name</name> 420 <name>name</name>
421 <cstring>accountLabel</cstring> 421 <cstring>accountLabel</cstring>
422 </property> 422 </property>
423 <property stdset="1"> 423 <property stdset="1">
424 <name>text</name> 424 <name>text</name>
425 <string>use:</string> 425 <string>use:</string>
426 </property> 426 </property>
427 </widget> 427 </widget>
428 <widget row="0" column="2" > 428 <widget row="0" column="2" >
429 <class>QComboBox</class> 429 <class>QComboBox</class>
430 <property stdset="1"> 430 <property stdset="1">
431 <name>name</name> 431 <name>name</name>
432 <cstring>smtpAccountBox</cstring> 432 <cstring>smtpAccountBox</cstring>
433 </property> 433 </property>
434 <property stdset="1"> 434 <property stdset="1">
435 <name>sizePolicy</name> 435 <name>sizePolicy</name>
436 <sizepolicy> 436 <sizepolicy>
437 <hsizetype>3</hsizetype> 437 <hsizetype>3</hsizetype>
438 <vsizetype>0</vsizetype> 438 <vsizetype>0</vsizetype>
439 </sizepolicy> 439 </sizepolicy>
440 </property> 440 </property>
441 </widget> 441 </widget>
442 <widget row="0" column="3" > 442 <widget row="0" column="3" >
443 <class>QPushButton</class> 443 <class>QPushButton</class>
444 <property stdset="1"> 444 <property stdset="1">
445 <name>name</name> 445 <name>name</name>
446 <cstring>SaveButton</cstring> 446 <cstring>SaveButton</cstring>
447 </property> 447 </property>
448 <property stdset="1"> 448 <property stdset="1">
449 <name>text</name> 449 <name>text</name>
450 <string>Save</string> 450 <string> S</string>
451 </property> 451 </property>
452 </widget> 452 </widget>
453 </grid> 453 </grid>
454</widget> 454</widget>
455<tabstops> 455<tabstops>
456 <tabstop>fromBox</tabstop> 456 <tabstop>fromBox</tabstop>
457 <tabstop>toButton</tabstop> 457 <tabstop>toButton</tabstop>
458 <tabstop>toLine</tabstop> 458 <tabstop>toLine</tabstop>
459 <tabstop>subjectLine</tabstop> 459 <tabstop>subjectLine</tabstop>
460 <tabstop>message</tabstop> 460 <tabstop>message</tabstop>
461 <tabstop>tabWidget</tabstop> 461 <tabstop>tabWidget</tabstop>
462 <tabstop>ccButton</tabstop> 462 <tabstop>ccButton</tabstop>
463 <tabstop>ccLine</tabstop> 463 <tabstop>ccLine</tabstop>
464 <tabstop>bccButton</tabstop> 464 <tabstop>bccButton</tabstop>
465 <tabstop>bccLine</tabstop> 465 <tabstop>bccLine</tabstop>
466 <tabstop>replyButton</tabstop> 466 <tabstop>replyButton</tabstop>
467 <tabstop>replyLine</tabstop> 467 <tabstop>replyLine</tabstop>
468 <tabstop>sigMultiLine</tabstop> 468 <tabstop>sigMultiLine</tabstop>
469 <tabstop>attList</tabstop> 469 <tabstop>attList</tabstop>
470 <tabstop>addButton</tabstop> 470 <tabstop>addButton</tabstop>
471 <tabstop>deleteButton</tabstop> 471 <tabstop>deleteButton</tabstop>
472</tabstops> 472</tabstops>
473</UI> 473</UI>
diff --git a/kmicromail/selectstoreui.ui b/kmicromail/selectstoreui.ui
index 2da103b..89f6ebc 100644
--- a/kmicromail/selectstoreui.ui
+++ b/kmicromail/selectstoreui.ui
@@ -1,318 +1,318 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>selectstoreui</class> 2<class>selectstoreui</class>
3<include location="local">tr.h</include> 3<include location="local">tr.h</include>
4<widget> 4<widget>
5 <class>QDialog</class> 5 <class>QDialog</class>
6 <property stdset="1"> 6 <property stdset="1">
7 <name>name</name> 7 <name>name</name>
8 <cstring>selectstoreui</cstring> 8 <cstring>selectstoreui</cstring>
9 </property> 9 </property>
10 <property stdset="1"> 10 <property stdset="1">
11 <name>geometry</name> 11 <name>geometry</name>
12 <rect> 12 <rect>
13 <x>0</x> 13 <x>0</x>
14 <y>0</y> 14 <y>0</y>
15 <width>279</width> 15 <width>230</width>
16 <height>304</height> 16 <height>307</height>
17 </rect> 17 </rect>
18 </property> 18 </property>
19 <property stdset="1"> 19 <property stdset="1">
20 <name>caption</name> 20 <name>caption</name>
21 <string>Select target box</string> 21 <string>Select target box</string>
22 </property> 22 </property>
23 <property> 23 <property>
24 <name>layoutMargin</name> 24 <name>layoutMargin</name>
25 </property> 25 </property>
26 <property> 26 <property>
27 <name>layoutSpacing</name> 27 <name>layoutSpacing</name>
28 </property> 28 </property>
29 <grid> 29 <grid>
30 <property stdset="1"> 30 <property stdset="1">
31 <name>margin</name> 31 <name>margin</name>
32 <number>11</number> 32 <number>11</number>
33 </property> 33 </property>
34 <property stdset="1"> 34 <property stdset="1">
35 <name>spacing</name> 35 <name>spacing</name>
36 <number>6</number> 36 <number>6</number>
37 </property> 37 </property>
38 <widget row="0" column="0" rowspan="1" colspan="2" > 38 <widget row="0" column="0" rowspan="1" colspan="2" >
39 <class>QLabel</class> 39 <class>QLabel</class>
40 <property stdset="1"> 40 <property stdset="1">
41 <name>name</name> 41 <name>name</name>
42 <cstring>headlabel</cstring> 42 <cstring>headlabel</cstring>
43 </property> 43 </property>
44 <property stdset="1"> 44 <property stdset="1">
45 <name>text</name> 45 <name>text</name>
46 <string>&lt;b&gt;Store mail(s) to&lt;/b&gt;</string> 46 <string>&lt;b&gt;Store mail(s) to&lt;/b&gt;</string>
47 </property> 47 </property>
48 <property stdset="1"> 48 <property stdset="1">
49 <name>alignment</name> 49 <name>alignment</name>
50 <set>AlignCenter</set> 50 <set>AlignCenter</set>
51 </property> 51 </property>
52 <property> 52 <property>
53 <name>hAlign</name> 53 <name>hAlign</name>
54 </property> 54 </property>
55 </widget> 55 </widget>
56 <widget row="1" column="0" rowspan="1" colspan="2" > 56 <widget row="1" column="0" rowspan="1" colspan="2" >
57 <class>QLayoutWidget</class> 57 <class>QLayoutWidget</class>
58 <property stdset="1"> 58 <property stdset="1">
59 <name>name</name> 59 <name>name</name>
60 <cstring>Layout2</cstring> 60 <cstring>Layout2</cstring>
61 </property> 61 </property>
62 <grid> 62 <grid>
63 <property stdset="1"> 63 <property stdset="1">
64 <name>margin</name> 64 <name>margin</name>
65 <number>0</number> 65 <number>0</number>
66 </property> 66 </property>
67 <property stdset="1"> 67 <property stdset="1">
68 <name>spacing</name> 68 <name>spacing</name>
69 <number>6</number> 69 <number>6</number>
70 </property> 70 </property>
71 <widget row="1" column="1" > 71 <widget row="1" column="1" >
72 <class>QComboBox</class> 72 <class>QComboBox</class>
73 <property stdset="1"> 73 <property stdset="1">
74 <name>name</name> 74 <name>name</name>
75 <cstring>folderSelection</cstring> 75 <cstring>folderSelection</cstring>
76 </property> 76 </property>
77 <property stdset="1"> 77 <property stdset="1">
78 <name>sizePolicy</name> 78 <name>sizePolicy</name>
79 <sizepolicy> 79 <sizepolicy>
80 <hsizetype>3</hsizetype> 80 <hsizetype>3</hsizetype>
81 <vsizetype>0</vsizetype> 81 <vsizetype>0</vsizetype>
82 </sizepolicy> 82 </sizepolicy>
83 </property> 83 </property>
84 </widget> 84 </widget>
85 <widget row="1" column="0" > 85 <widget row="1" column="0" >
86 <class>QLabel</class> 86 <class>QLabel</class>
87 <property stdset="1"> 87 <property stdset="1">
88 <name>name</name> 88 <name>name</name>
89 <cstring>folderLabel</cstring> 89 <cstring>folderLabel</cstring>
90 </property> 90 </property>
91 <property stdset="1"> 91 <property stdset="1">
92 <name>text</name> 92 <name>text</name>
93 <string>Folder:</string> 93 <string>Folder:</string>
94 </property> 94 </property>
95 <property stdset="1"> 95 <property stdset="1">
96 <name>alignment</name> 96 <name>alignment</name>
97 <set>AlignVCenter|AlignRight</set> 97 <set>AlignVCenter|AlignRight</set>
98 </property> 98 </property>
99 <property> 99 <property>
100 <name>hAlign</name> 100 <name>hAlign</name>
101 </property> 101 </property>
102 </widget> 102 </widget>
103 <widget row="0" column="1" > 103 <widget row="0" column="1" >
104 <class>QComboBox</class> 104 <class>QComboBox</class>
105 <property stdset="1"> 105 <property stdset="1">
106 <name>name</name> 106 <name>name</name>
107 <cstring>accountSelection</cstring> 107 <cstring>accountSelection</cstring>
108 </property> 108 </property>
109 <property stdset="1"> 109 <property stdset="1">
110 <name>sizePolicy</name> 110 <name>sizePolicy</name>
111 <sizepolicy> 111 <sizepolicy>
112 <hsizetype>3</hsizetype> 112 <hsizetype>3</hsizetype>
113 <vsizetype>0</vsizetype> 113 <vsizetype>0</vsizetype>
114 </sizepolicy> 114 </sizepolicy>
115 </property> 115 </property>
116 </widget> 116 </widget>
117 <widget row="0" column="0" > 117 <widget row="0" column="0" >
118 <class>QLabel</class> 118 <class>QLabel</class>
119 <property stdset="1"> 119 <property stdset="1">
120 <name>name</name> 120 <name>name</name>
121 <cstring>accountlabel</cstring> 121 <cstring>accountlabel</cstring>
122 </property> 122 </property>
123 <property stdset="1"> 123 <property stdset="1">
124 <name>sizePolicy</name> 124 <name>sizePolicy</name>
125 <sizepolicy> 125 <sizepolicy>
126 <hsizetype>1</hsizetype> 126 <hsizetype>1</hsizetype>
127 <vsizetype>1</vsizetype> 127 <vsizetype>1</vsizetype>
128 </sizepolicy> 128 </sizepolicy>
129 </property> 129 </property>
130 <property stdset="1"> 130 <property stdset="1">
131 <name>text</name> 131 <name>text</name>
132 <string>Account:</string> 132 <string>Account:</string>
133 </property> 133 </property>
134 <property stdset="1"> 134 <property stdset="1">
135 <name>alignment</name> 135 <name>alignment</name>
136 <set>AlignVCenter|AlignRight</set> 136 <set>AlignVCenter|AlignRight</set>
137 </property> 137 </property>
138 <property> 138 <property>
139 <name>hAlign</name> 139 <name>hAlign</name>
140 </property> 140 </property>
141 </widget> 141 </widget>
142 </grid> 142 </grid>
143 </widget> 143 </widget>
144 <widget row="2" column="0" rowspan="1" colspan="2" > 144 <widget row="2" column="0" rowspan="1" colspan="2" >
145 <class>Line</class> 145 <class>Line</class>
146 <property stdset="1"> 146 <property stdset="1">
147 <name>name</name> 147 <name>name</name>
148 <cstring>Line1</cstring> 148 <cstring>Line1</cstring>
149 </property> 149 </property>
150 <property stdset="1"> 150 <property stdset="1">
151 <name>orientation</name> 151 <name>orientation</name>
152 <enum>Horizontal</enum> 152 <enum>Horizontal</enum>
153 </property> 153 </property>
154 </widget> 154 </widget>
155 <widget row="3" column="0" rowspan="1" colspan="2" > 155 <widget row="3" column="0" rowspan="1" colspan="2" >
156 <class>QCheckBox</class> 156 <class>QCheckBox</class>
157 <property stdset="1"> 157 <property stdset="1">
158 <name>name</name> 158 <name>name</name>
159 <cstring>newFoldersel</cstring> 159 <cstring>newFoldersel</cstring>
160 </property> 160 </property>
161 <property stdset="1"> 161 <property stdset="1">
162 <name>text</name> 162 <name>text</name>
163 <string>Create new folder</string> 163 <string>Create new folder</string>
164 </property> 164 </property>
165 </widget> 165 </widget>
166 <widget row="4" column="0" rowspan="1" colspan="2" > 166 <widget row="4" column="0" rowspan="1" colspan="2" >
167 <class>QLineEdit</class> 167 <class>QLineEdit</class>
168 <property stdset="1"> 168 <property stdset="1">
169 <name>name</name> 169 <name>name</name>
170 <cstring>newFolderedit</cstring> 170 <cstring>newFolderedit</cstring>
171 </property> 171 </property>
172 <property stdset="1"> 172 <property stdset="1">
173 <name>enabled</name> 173 <name>enabled</name>
174 <bool>false</bool> 174 <bool>false</bool>
175 </property> 175 </property>
176 </widget> 176 </widget>
177 <widget row="5" column="0" rowspan="1" colspan="2" > 177 <widget row="5" column="0" rowspan="1" colspan="2" >
178 <class>QLabel</class> 178 <class>QLabel</class>
179 <property stdset="1"> 179 <property stdset="1">
180 <name>name</name> 180 <name>name</name>
181 <cstring>newFolderLabel</cstring> 181 <cstring>newFolderLabel</cstring>
182 </property> 182 </property>
183 <property stdset="1"> 183 <property stdset="1">
184 <name>text</name> 184 <name>text</name>
185 <string>Prefix will prepend, no need to enter it!</string> 185 <string>Prefix will prepend, do not enter</string>
186 </property> 186 </property>
187 <property stdset="1"> 187 <property stdset="1">
188 <name>alignment</name> 188 <name>alignment</name>
189 <set>WordBreak|AlignCenter</set> 189 <set>WordBreak|AlignCenter</set>
190 </property> 190 </property>
191 <property> 191 <property>
192 <name>hAlign</name> 192 <name>hAlign</name>
193 </property> 193 </property>
194 <property> 194 <property>
195 <name>wordwrap</name> 195 <name>wordwrap</name>
196 </property> 196 </property>
197 </widget> 197 </widget>
198 <widget row="6" column="0" rowspan="1" colspan="2" > 198 <widget row="6" column="0" rowspan="1" colspan="2" >
199 <class>Line</class> 199 <class>Line</class>
200 <property stdset="1"> 200 <property stdset="1">
201 <name>name</name> 201 <name>name</name>
202 <cstring>Line2</cstring> 202 <cstring>Line2</cstring>
203 </property> 203 </property>
204 <property stdset="1"> 204 <property stdset="1">
205 <name>orientation</name> 205 <name>orientation</name>
206 <enum>Horizontal</enum> 206 <enum>Horizontal</enum>
207 </property> 207 </property>
208 </widget> 208 </widget>
209 <spacer row="9" column="0" > 209 <spacer row="9" column="0" >
210 <property> 210 <property>
211 <name>name</name> 211 <name>name</name>
212 <cstring>Spacer2</cstring> 212 <cstring>Spacer2</cstring>
213 </property> 213 </property>
214 <property stdset="1"> 214 <property stdset="1">
215 <name>orientation</name> 215 <name>orientation</name>
216 <enum>Vertical</enum> 216 <enum>Vertical</enum>
217 </property> 217 </property>
218 <property stdset="1"> 218 <property stdset="1">
219 <name>sizeType</name> 219 <name>sizeType</name>
220 <enum>Expanding</enum> 220 <enum>Expanding</enum>
221 </property> 221 </property>
222 <property> 222 <property>
223 <name>sizeHint</name> 223 <name>sizeHint</name>
224 <size> 224 <size>
225 <width>20</width> 225 <width>20</width>
226 <height>20</height> 226 <height>20</height>
227 </size> 227 </size>
228 </property> 228 </property>
229 </spacer> 229 </spacer>
230 <widget row="8" column="0" rowspan="1" colspan="2" > 230 <widget row="8" column="0" rowspan="1" colspan="2" >
231 <class>QCheckBox</class> 231 <class>QCheckBox</class>
232 <property stdset="1"> 232 <property stdset="1">
233 <name>name</name> 233 <name>name</name>
234 <cstring>selMove</cstring> 234 <cstring>selMove</cstring>
235 </property> 235 </property>
236 <property stdset="1"> 236 <property stdset="1">
237 <name>text</name> 237 <name>text</name>
238 <string>Move mail(s)</string> 238 <string>Move mail(s)</string>
239 </property> 239 </property>
240 </widget> 240 </widget>
241 <widget row="7" column="0" > 241 <widget row="7" column="0" >
242 <class>QCheckBox</class> 242 <class>QCheckBox</class>
243 <property stdset="1"> 243 <property stdset="1">
244 <name>name</name> 244 <name>name</name>
245 <cstring>useSize</cstring> 245 <cstring>useSize</cstring>
246 </property> 246 </property>
247 <property stdset="1"> 247 <property stdset="1">
248 <name>text</name> 248 <name>text</name>
249 <string>apply only to mails smaller</string> 249 <string>only mails smaller</string>
250 </property> 250 </property>
251 </widget> 251 </widget>
252 <widget row="7" column="1" > 252 <widget row="7" column="1" >
253 <class>QSpinBox</class> 253 <class>QSpinBox</class>
254 <property stdset="1"> 254 <property stdset="1">
255 <name>name</name> 255 <name>name</name>
256 <cstring>sizeSpinBox</cstring> 256 <cstring>sizeSpinBox</cstring>
257 </property> 257 </property>
258 <property stdset="1"> 258 <property stdset="1">
259 <name>suffix</name> 259 <name>suffix</name>
260 <string> kB</string> 260 <string> kB</string>
261 </property> 261 </property>
262 <property stdset="1"> 262 <property stdset="1">
263 <name>maxValue</name> 263 <name>maxValue</name>
264 <number>8192</number> 264 <number>8192</number>
265 </property> 265 </property>
266 <property stdset="1"> 266 <property stdset="1">
267 <name>minValue</name> 267 <name>minValue</name>
268 <number>1</number> 268 <number>1</number>
269 </property> 269 </property>
270 <property stdset="1"> 270 <property stdset="1">
271 <name>lineStep</name> 271 <name>lineStep</name>
272 <number>1</number> 272 <number>1</number>
273 </property> 273 </property>
274 <property stdset="1"> 274 <property stdset="1">
275 <name>value</name> 275 <name>value</name>
276 <number>5</number> 276 <number>5</number>
277 </property> 277 </property>
278 </widget> 278 </widget>
279 </grid> 279 </grid>
280</widget> 280</widget>
281<connections> 281<connections>
282 <connection> 282 <connection>
283 <sender>selMove</sender> 283 <sender>selMove</sender>
284 <signal>clicked()</signal> 284 <signal>clicked()</signal>
285 <receiver>selectstoreui</receiver> 285 <receiver>selectstoreui</receiver>
286 <slot>slotMoveMail()</slot> 286 <slot>slotMoveMail()</slot>
287 </connection> 287 </connection>
288 <connection> 288 <connection>
289 <sender>newFoldersel</sender> 289 <sender>newFoldersel</sender>
290 <signal>clicked()</signal> 290 <signal>clicked()</signal>
291 <receiver>selectstoreui</receiver> 291 <receiver>selectstoreui</receiver>
292 <slot>slotCreateNewFolder()</slot> 292 <slot>slotCreateNewFolder()</slot>
293 </connection> 293 </connection>
294 <connection> 294 <connection>
295 <sender>accountSelection</sender> 295 <sender>accountSelection</sender>
296 <signal>activated(int)</signal> 296 <signal>activated(int)</signal>
297 <receiver>selectstoreui</receiver> 297 <receiver>selectstoreui</receiver>
298 <slot>slotAccountselected(int)</slot> 298 <slot>slotAccountselected(int)</slot>
299 </connection> 299 </connection>
300 <connection> 300 <connection>
301 <sender>folderSelection</sender> 301 <sender>folderSelection</sender>
302 <signal>activated(int)</signal> 302 <signal>activated(int)</signal>
303 <receiver>selectstoreui</receiver> 303 <receiver>selectstoreui</receiver>
304 <slot>slotFolderSelected(int)</slot> 304 <slot>slotFolderSelected(int)</slot>
305 </connection> 305 </connection>
306 <slot access="protected">slotFolderSelected(int)</slot> 306 <slot access="protected">slotFolderSelected(int)</slot>
307 <slot access="protected">slotAccountselected(int)</slot> 307 <slot access="protected">slotAccountselected(int)</slot>
308 <slot access="protected">slotCreateNewFolder()</slot> 308 <slot access="protected">slotCreateNewFolder()</slot>
309 <slot access="protected">slotMoveMail()</slot> 309 <slot access="protected">slotMoveMail()</slot>
310</connections> 310</connections>
311<tabstops> 311<tabstops>
312 <tabstop>accountSelection</tabstop> 312 <tabstop>accountSelection</tabstop>
313 <tabstop>folderSelection</tabstop> 313 <tabstop>folderSelection</tabstop>
314 <tabstop>newFoldersel</tabstop> 314 <tabstop>newFoldersel</tabstop>
315 <tabstop>newFolderedit</tabstop> 315 <tabstop>newFolderedit</tabstop>
316 <tabstop>selMove</tabstop> 316 <tabstop>selMove</tabstop>
317</tabstops> 317</tabstops>
318</UI> 318</UI>