summaryrefslogtreecommitdiffabout
path: root/kmicromail/editaccounts.cpp
Unidiff
Diffstat (limited to 'kmicromail/editaccounts.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/editaccounts.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp
index e7d2750..d43d23b 100644
--- a/kmicromail/editaccounts.cpp
+++ b/kmicromail/editaccounts.cpp
@@ -363,2 +363,12 @@ void IMAPconfig::fillValues()
363 prefixLine->setText(data->getPrefix()); 363 prefixLine->setText(data->getPrefix());
364 localFolder->setText( data->getLocalFolder() );
365 int max = data->getMaxMailSize() ;
366 if ( max ) {
367 CheckBoxDown->setChecked( true );
368 SpinBoxDown->setValue ( max );
369 } else {
370 CheckBoxDown->setChecked( false );
371 SpinBoxDown->setValue ( 5 );
372 }
373 CheckBoxLeaveOn->setChecked( data->getLeaveOnServer() );
364} 374}
@@ -374,2 +384,5 @@ void IMAPconfig::accept()
374 data->setPrefix(prefixLine->text()); 384 data->setPrefix(prefixLine->text());
385 data->setLocalFolder( localFolder->text() );
386 data->setMaxMailSize( CheckBoxDown->isChecked()?SpinBoxDown->value():0 ) ;
387 data->setLeaveOnServer( CheckBoxLeaveOn->isChecked() );
375 388
@@ -432,2 +445,3 @@ void POP3config::fillValues()
432 } 445 }
446 CheckBoxLeaveOn->setChecked( data->getLeaveOnServer() );
433} 447}
@@ -444,2 +458,3 @@ void POP3config::accept()
444 data->setMaxMailSize( CheckBoxDown->isChecked()?SpinBoxDown->value():0 ) ; 458 data->setMaxMailSize( CheckBoxDown->isChecked()?SpinBoxDown->value():0 ) ;
459 data->setLeaveOnServer( CheckBoxLeaveOn->isChecked() );
445 460