Diffstat (limited to 'noncore/net/mail/editaccounts.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/editaccounts.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/noncore/net/mail/editaccounts.cpp b/noncore/net/mail/editaccounts.cpp index 1246037..de36e0d 100644 --- a/noncore/net/mail/editaccounts.cpp +++ b/noncore/net/mail/editaccounts.cpp | |||
@@ -352,15 +352,12 @@ void POP3config::accept() | |||
352 | 352 | ||
353 | SMTPconfig::SMTPconfig( SMTPaccount *account, QWidget *parent, const char *name, bool modal, WFlags flags ) | 353 | SMTPconfig::SMTPconfig( SMTPaccount *account, QWidget *parent, const char *name, bool modal, WFlags flags ) |
354 | : SMTPconfigUI( parent, name, modal, flags ) | 354 | : SMTPconfigUI( parent, name, modal, flags ) |
355 | { | 355 | { |
356 | data = account; | 356 | data = account; |
357 | 357 | ||
358 | connect( ccBox, SIGNAL( toggled( bool ) ), ccLine, SLOT( setEnabled( bool ) ) ); | ||
359 | connect( bccBox, SIGNAL( toggled( bool ) ), bccLine, SLOT( setEnabled( bool ) ) ); | ||
360 | connect( replyBox, SIGNAL( toggled( bool ) ), replyLine, SLOT( setEnabled( bool ) ) ); | ||
361 | connect( loginBox, SIGNAL( toggled( bool ) ), userLine, SLOT( setEnabled( bool ) ) ); | 358 | connect( loginBox, SIGNAL( toggled( bool ) ), userLine, SLOT( setEnabled( bool ) ) ); |
362 | connect( loginBox, SIGNAL( toggled( bool ) ), passLine, SLOT( setEnabled( bool ) ) ); | 359 | connect( loginBox, SIGNAL( toggled( bool ) ), passLine, SLOT( setEnabled( bool ) ) ); |
363 | 360 | ||
364 | fillValues(); | 361 | fillValues(); |
365 | 362 | ||
366 | connect( sslBox, SIGNAL( toggled( bool ) ), SLOT( slotSSL( bool ) ) ); | 363 | connect( sslBox, SIGNAL( toggled( bool ) ), SLOT( slotSSL( bool ) ) ); |
@@ -381,43 +378,23 @@ void SMTPconfig::fillValues() | |||
381 | serverLine->setText( data->getServer() ); | 378 | serverLine->setText( data->getServer() ); |
382 | portLine->setText( data->getPort() ); | 379 | portLine->setText( data->getPort() ); |
383 | sslBox->setChecked( data->getSSL() ); | 380 | sslBox->setChecked( data->getSSL() ); |
384 | loginBox->setChecked( data->getLogin() ); | 381 | loginBox->setChecked( data->getLogin() ); |
385 | userLine->setText( data->getUser() ); | 382 | userLine->setText( data->getUser() ); |
386 | passLine->setText( data->getPassword() ); | 383 | passLine->setText( data->getPassword() ); |
387 | nameLine->setText( data->getName() ); | ||
388 | mailLine->setText( data->getMail() ); | ||
389 | orgLine->setText( data->getOrg() ); | ||
390 | ccBox->setChecked( data->getUseCC() ); | ||
391 | ccLine->setText( data->getCC() ); | ||
392 | bccBox->setChecked( data->getUseBCC() ); | ||
393 | bccLine->setText( data->getBCC() ); | ||
394 | replyBox->setChecked( data->getUseReply() ); | ||
395 | replyLine->setText( data->getReply() ); | ||
396 | sigMultiLine->setText( data->getSignature() ); | ||
397 | } | 384 | } |
398 | 385 | ||
399 | void SMTPconfig::accept() | 386 | void SMTPconfig::accept() |
400 | { | 387 | { |
401 | data->setAccountName( accountLine->text() ); | 388 | data->setAccountName( accountLine->text() ); |
402 | data->setServer( serverLine->text() ); | 389 | data->setServer( serverLine->text() ); |
403 | data->setPort( portLine->text() ); | 390 | data->setPort( portLine->text() ); |
404 | data->setSSL( sslBox->isChecked() ); | 391 | data->setSSL( sslBox->isChecked() ); |
405 | data->setLogin( loginBox->isChecked() ); | 392 | data->setLogin( loginBox->isChecked() ); |
406 | data->setUser( userLine->text() ); | 393 | data->setUser( userLine->text() ); |
407 | data->setPassword( passLine->text() ); | 394 | data->setPassword( passLine->text() ); |
408 | data->setName( nameLine->text() ); | ||
409 | data->setMail( mailLine->text() ); | ||
410 | data->setOrg( orgLine->text() ); | ||
411 | data->setCC( ccLine->text() ); | ||
412 | data->setUseCC( ccBox->isChecked() ); | ||
413 | data->setBCC( bccLine->text() ); | ||
414 | data->setUseBCC( bccBox->isChecked() ); | ||
415 | data->setReply( replyLine->text() ); | ||
416 | data->setUseReply( replyBox->isChecked() ); | ||
417 | data->setSignature( sigMultiLine->text() ); | ||
418 | 395 | ||
419 | QDialog::accept(); | 396 | QDialog::accept(); |
420 | } | 397 | } |
421 | 398 | ||
422 | /** | 399 | /** |
423 | * NNTPconfig | 400 | * NNTPconfig |