-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 91 |
1 files changed, 56 insertions, 35 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index 93538ec..d3797ae 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp | |||
@@ -167,25 +167,26 @@ void KDEPIMConfigWidget::setupStoreTab() | |||
167 | { | 167 | { |
168 | QVBox *colorPage = new QVBox( this ); | 168 | QVBox *colorPage = new QVBox( this ); |
169 | tabWidget->addTab( colorPage, i18n( "Colors" ) ); | 169 | tabWidget->addTab( colorPage, i18n( "Colors" ) ); |
170 | QWidget* cw = new QWidget( colorPage ); | 170 | QWidget* cw = new QWidget( colorPage ); |
171 | KPrefsWidColor *holidayColor = | 171 | KPrefsWidColor *holidayColor = |
172 | addWidColor(i18n("Alternating background of list views"), | 172 | addWidColor(i18n("Alternating background of list views"), |
173 | &(KPimGlobalPrefs::instance()->mAlternateColor),cw); | 173 | &(KPimGlobalPrefs::instance()->mAlternateColor),cw); |
174 | QHBoxLayout *topLayout = new QHBoxLayout(cw); | 174 | QHBoxLayout *topLayout = new QHBoxLayout(cw); |
175 | topLayout->addWidget(holidayColor->label()); | 175 | topLayout->addWidget(holidayColor->label()); |
176 | topLayout->addWidget( (QWidget* )holidayColor->button()); | 176 | topLayout->addWidget( (QWidget* )holidayColor->button()); |
177 | 177 | ||
178 | 178 | ||
179 | QVBox *storePage = new QVBox( this ); | 179 | QVBox *storePage = new QVBox( this ); |
180 | if ( QApplication::desktop()->height() > 240 ) | ||
180 | new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); | 181 | new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); |
181 | new QLabel( i18n("<b>New data storage dir:</b>"), storePage ); | 182 | new QLabel( i18n("<b>New data storage dir:</b>"), storePage ); |
182 | mStoreUrl = new KURLRequester( storePage ); | 183 | mStoreUrl = new KURLRequester( storePage ); |
183 | mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); | 184 | mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); |
184 | #ifdef DESKTOP_VERSION | 185 | #ifdef DESKTOP_VERSION |
185 | QString confFile = qApp->applicationDirPath ()+ "/.microkdehome" ; | 186 | QString confFile = qApp->applicationDirPath ()+ "/.microkdehome" ; |
186 | QFileInfo fi ( confFile ); | 187 | QFileInfo fi ( confFile ); |
187 | if ( fi.exists() ) { | 188 | if ( fi.exists() ) { |
188 | KConfig cfg ( confFile ); | 189 | KConfig cfg ( confFile ); |
189 | cfg.setGroup("Global"); | 190 | cfg.setGroup("Global"); |
190 | QString localKdeDir = cfg.readEntry( "MICROKDEHOME", "x_x_x" ); | 191 | QString localKdeDir = cfg.readEntry( "MICROKDEHOME", "x_x_x" ); |
191 | if ( localKdeDir != "x_x_x" ) { | 192 | if ( localKdeDir != "x_x_x" ) { |
@@ -281,50 +282,53 @@ void KDEPIMConfigWidget::setupExternalAppTab() | |||
281 | 282 | ||
282 | lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); | 283 | lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); |
283 | boxLayout->addWidget( lab, 3, 0 ); | 284 | boxLayout->addWidget( lab, 3, 0 ); |
284 | mMessage = new QLineEdit(mExternalAppGroupBox); | 285 | mMessage = new QLineEdit(mExternalAppGroupBox); |
285 | mMessage->setReadOnly(true); | 286 | mMessage->setReadOnly(true); |
286 | boxLayout->addWidget( mMessage , 4, 0); | 287 | boxLayout->addWidget( mMessage , 4, 0); |
287 | 288 | ||
288 | lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); | 289 | lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); |
289 | boxLayout->addWidget( lab, 3, 1 ); | 290 | boxLayout->addWidget( lab, 3, 1 ); |
290 | mParameters = new QLineEdit(mExternalAppGroupBox); | 291 | mParameters = new QLineEdit(mExternalAppGroupBox); |
291 | mParameters->setReadOnly(true); | 292 | mParameters->setReadOnly(true); |
292 | boxLayout->addWidget( mParameters, 4, 1 ); | 293 | boxLayout->addWidget( mParameters, 4, 1 ); |
293 | 294 | lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); | |
294 | lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); | 295 | boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); |
295 | boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); | 296 | |
296 | 297 | ||
297 | 298 | if ( QApplication::desktop()->height() > 240 ) { | |
298 | lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); | 299 | lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); |
299 | boxLayout->addWidget( lab, 6, 0 ); | 300 | boxLayout->addWidget( lab, 6, 0 ); |
300 | mMessage2 = new QLineEdit(mExternalAppGroupBox); | 301 | mMessage2 = new QLineEdit(mExternalAppGroupBox); |
301 | mMessage2->setReadOnly(true); | 302 | mMessage2->setReadOnly(true); |
302 | boxLayout->addWidget( mMessage2 , 7, 0); | 303 | boxLayout->addWidget( mMessage2 , 7, 0); |
303 | 304 | ||
304 | lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox); | 305 | lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox); |
305 | boxLayout->addWidget( lab, 6, 1 ); | 306 | boxLayout->addWidget( lab, 6, 1 ); |
306 | mParameters2 = new QLineEdit(mExternalAppGroupBox); | 307 | mParameters2 = new QLineEdit(mExternalAppGroupBox); |
307 | mParameters2->setReadOnly(true); | 308 | mParameters2->setReadOnly(true); |
308 | boxLayout->addWidget( mParameters2, 7, 1 ); | 309 | boxLayout->addWidget( mParameters2, 7, 1 ); |
309 | 310 | ||
310 | lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox); | 311 | lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox); |
311 | boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 ); | 312 | boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 ); |
312 | 313 | connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | |
314 | connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | ||
315 | } else { | ||
316 | mMessage2 = 0; | ||
317 | mParameters2 = 0; | ||
318 | } | ||
313 | 319 | ||
314 | connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 320 | connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
315 | connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 321 | connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
316 | connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 322 | connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
317 | connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | ||
318 | connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | ||
319 | 323 | ||
320 | 324 | ||
321 | layout->addWidget( mExternalAppGroupBox ); | 325 | layout->addWidget( mExternalAppGroupBox ); |
322 | tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) ); | 326 | tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) ); |
323 | 327 | ||
324 | } | 328 | } |
325 | 329 | ||
326 | 330 | ||
327 | void KDEPIMConfigWidget::setupLocaleDateTab() | 331 | void KDEPIMConfigWidget::setupLocaleDateTab() |
328 | { | 332 | { |
329 | QWidget *topFrame = new QWidget( this ); | 333 | QWidget *topFrame = new QWidget( this ); |
330 | QGridLayout *topLayout = new QGridLayout( topFrame, 3, 2); | 334 | QGridLayout *topLayout = new QGridLayout( topFrame, 3, 2); |
@@ -365,30 +369,33 @@ void KDEPIMConfigWidget::setupLocaleDateTab() | |||
365 | lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); | 369 | lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); |
366 | topLayout->addWidget(lab ,iii,0); | 370 | topLayout->addWidget(lab ,iii,0); |
367 | topLayout->addWidget(mUserDateFormatLong,iii,1); | 371 | topLayout->addWidget(mUserDateFormatLong,iii,1); |
368 | ++iii; | 372 | ++iii; |
369 | mUserDateFormatShort = new QLineEdit(topFrame); | 373 | mUserDateFormatShort = new QLineEdit(topFrame); |
370 | lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); | 374 | lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); |
371 | topLayout->addWidget(lab ,iii,0); | 375 | topLayout->addWidget(lab ,iii,0); |
372 | topLayout->addWidget(mUserDateFormatShort,iii,1); | 376 | topLayout->addWidget(mUserDateFormatShort,iii,1); |
373 | ++iii; | 377 | ++iii; |
374 | lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); | 378 | lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); |
375 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 379 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
376 | ++iii; | 380 | ++iii; |
377 | lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); | 381 | //qDebug(" QApplication::desktop()->height()xx %d ", QApplication::desktop()->height() ); |
378 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 382 | if ( QApplication::desktop()->height() > 240 ) { |
379 | ++iii; | 383 | lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); |
380 | lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); | 384 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
381 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 385 | ++iii; |
382 | ++iii; | 386 | lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); |
387 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | ||
388 | ++iii; | ||
389 | } | ||
383 | 390 | ||
384 | connect( mUserDateFormatLong, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 391 | connect( mUserDateFormatLong, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
385 | connect( mUserDateFormatShort, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 392 | connect( mUserDateFormatShort, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
386 | 393 | ||
387 | 394 | ||
388 | tabWidget->addTab( topFrame, i18n( "Date Format" ) ); | 395 | tabWidget->addTab( topFrame, i18n( "Date Format" ) ); |
389 | } | 396 | } |
390 | 397 | ||
391 | void KDEPIMConfigWidget::setupLocaleTab() | 398 | void KDEPIMConfigWidget::setupLocaleTab() |
392 | { | 399 | { |
393 | 400 | ||
394 | QWidget *topFrame = new QWidget( this ); | 401 | QWidget *topFrame = new QWidget( this ); |
@@ -619,26 +626,28 @@ void KDEPIMConfigWidget::saveEditFieldSettings() | |||
619 | mSipClient = mClient->currentItem(); | 626 | mSipClient = mClient->currentItem(); |
620 | break; | 627 | break; |
621 | default: | 628 | default: |
622 | return; | 629 | return; |
623 | } | 630 | } |
624 | 631 | ||
625 | //store the current data back to the apropriate membervariables if we had set it to "other" | 632 | //store the current data back to the apropriate membervariables if we had set it to "other" |
626 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) | 633 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) |
627 | { | 634 | { |
628 | mEmailOtherChannel = mChannel->text(); | 635 | mEmailOtherChannel = mChannel->text(); |
629 | mEmailOtherMessage = mMessage->text(); | 636 | mEmailOtherMessage = mMessage->text(); |
630 | mEmailOtherMessageParameters = mParameters->text(); | 637 | mEmailOtherMessageParameters = mParameters->text(); |
631 | mEmailOtherMessage2 = mMessage2->text(); | 638 | if ( mMessage2 ) |
632 | mEmailOtherMessageParameters2 = mParameters2->text(); | 639 | mEmailOtherMessage2 = mMessage2->text(); |
640 | if ( mParameters2 ) | ||
641 | mEmailOtherMessageParameters2 = mParameters2->text(); | ||
633 | } | 642 | } |
634 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) | 643 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) |
635 | { | 644 | { |
636 | mPhoneOtherChannel = mChannel->text(); | 645 | mPhoneOtherChannel = mChannel->text(); |
637 | mPhoneOtherMessage = mMessage->text(); | 646 | mPhoneOtherMessage = mMessage->text(); |
638 | mPhoneOtherMessageParameters = mParameters->text(); | 647 | mPhoneOtherMessageParameters = mParameters->text(); |
639 | } | 648 | } |
640 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) | 649 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) |
641 | { | 650 | { |
642 | mSMSOtherChannel = mChannel->text(); | 651 | mSMSOtherChannel = mChannel->text(); |
643 | mSMSOtherMessage = mMessage->text(); | 652 | mSMSOtherMessage = mMessage->text(); |
644 | mSMSOtherMessageParameters = mParameters->text(); | 653 | mSMSOtherMessageParameters = mParameters->text(); |
@@ -684,35 +693,39 @@ void KDEPIMConfigWidget::updateClientWidgets() | |||
684 | QList<DefaultAppItem> items = ExternalAppHandler::instance()->getAvailableDefaultItems(mCurrentApp); | 693 | QList<DefaultAppItem> items = ExternalAppHandler::instance()->getAvailableDefaultItems(mCurrentApp); |
685 | DefaultAppItem* dai; | 694 | DefaultAppItem* dai; |
686 | for ( dai=items.first(); dai != 0; dai=items.next() ) | 695 | for ( dai=items.first(); dai != 0; dai=items.next() ) |
687 | { | 696 | { |
688 | mClient->insertItem( i18n(dai->_label), dai->_id ); | 697 | mClient->insertItem( i18n(dai->_label), dai->_id ); |
689 | 698 | ||
690 | if (dai->_id == mCurrentClient) | 699 | if (dai->_id == mCurrentClient) |
691 | { | 700 | { |
692 | //restore the edit fields with the data of the local membervariables if we had set it to "other". | 701 | //restore the edit fields with the data of the local membervariables if we had set it to "other". |
693 | //Otherwise take the default data from externalapphandler. | 702 | //Otherwise take the default data from externalapphandler. |
694 | mChannel->setText(dai->_channel); | 703 | mChannel->setText(dai->_channel); |
695 | mMessage->setText(dai->_message); | 704 | mMessage->setText(dai->_message); |
696 | mParameters->setText(dai->_parameters); | 705 | mParameters->setText(dai->_parameters); |
697 | mMessage2->setText(dai->_message2); | 706 | if ( mMessage2 ) |
707 | mMessage2->setText(dai->_message2); | ||
708 | if ( mParameters2 ) | ||
698 | mParameters2->setText(dai->_parameters2); | 709 | mParameters2->setText(dai->_parameters2); |
699 | 710 | ||
700 | 711 | ||
701 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) | 712 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) |
702 | { | 713 | { |
703 | mChannel->setText(mEmailOtherChannel); | 714 | mChannel->setText(mEmailOtherChannel); |
704 | mMessage->setText(mEmailOtherMessage); | 715 | mMessage->setText(mEmailOtherMessage); |
705 | mParameters->setText(mEmailOtherMessageParameters); | 716 | mParameters->setText(mEmailOtherMessageParameters); |
717 | if ( mMessage2 ) | ||
706 | mMessage2->setText(mEmailOtherMessage2); | 718 | mMessage2->setText(mEmailOtherMessage2); |
719 | if ( mParameters2 ) | ||
707 | mParameters2->setText(mEmailOtherMessageParameters2); | 720 | mParameters2->setText(mEmailOtherMessageParameters2); |
708 | } | 721 | } |
709 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) | 722 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) |
710 | { | 723 | { |
711 | mChannel->setText(mPhoneOtherChannel); | 724 | mChannel->setText(mPhoneOtherChannel); |
712 | mMessage->setText(mPhoneOtherMessage); | 725 | mMessage->setText(mPhoneOtherMessage); |
713 | mParameters->setText(mPhoneOtherMessageParameters); | 726 | mParameters->setText(mPhoneOtherMessageParameters); |
714 | } | 727 | } |
715 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) | 728 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) |
716 | { | 729 | { |
717 | mChannel->setText(mSMSOtherChannel); | 730 | mChannel->setText(mSMSOtherChannel); |
718 | mMessage->setText(mSMSOtherMessage); | 731 | mMessage->setText(mSMSOtherMessage); |
@@ -764,51 +777,59 @@ void KDEPIMConfigWidget::updateClientWidgets() | |||
764 | ||((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::NONE_SIC))) | 777 | ||((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::NONE_SIC))) |
765 | { | 778 | { |
766 | enabled = false; | 779 | enabled = false; |
767 | } | 780 | } |
768 | else | 781 | else |
769 | { | 782 | { |
770 | enabled = true; | 783 | enabled = true; |
771 | } | 784 | } |
772 | 785 | ||
773 | 786 | ||
774 | mChannel->setReadOnly(readonly); | 787 | mChannel->setReadOnly(readonly); |
775 | mMessage->setReadOnly(readonly); | 788 | mMessage->setReadOnly(readonly); |
776 | mParameters->setReadOnly(readonly); | 789 | mParameters->setReadOnly(readonly); |
790 | if ( mMessage2 ) | ||
777 | mMessage2->setReadOnly(readonly); | 791 | mMessage2->setReadOnly(readonly); |
792 | if ( mParameters2 ) | ||
778 | mParameters2->setReadOnly(readonly); | 793 | mParameters2->setReadOnly(readonly); |
779 | 794 | ||
780 | mChannel->setEnabled(enabled); | 795 | mChannel->setEnabled(enabled); |
781 | mMessage->setEnabled(enabled); | 796 | mMessage->setEnabled(enabled); |
782 | mParameters->setEnabled(enabled); | 797 | mParameters->setEnabled(enabled); |
798 | if ( mMessage2 ) | ||
783 | mMessage2->setEnabled(enabled); | 799 | mMessage2->setEnabled(enabled); |
800 | if ( mParameters2 ) | ||
784 | mParameters2->setEnabled(enabled); | 801 | mParameters2->setEnabled(enabled); |
785 | 802 | ||
786 | 803 | ||
787 | 804 | ||
788 | mClient->setCurrentItem(mCurrentClient); | 805 | mClient->setCurrentItem(mCurrentClient); |
789 | 806 | ||
790 | 807 | ||
791 | // enable/disable the extra message/parameter field | 808 | // enable/disable the extra message/parameter field |
792 | if (mCurrentApp == ExternalAppHandler::EMAIL) | 809 | if (mCurrentApp == ExternalAppHandler::EMAIL) |
793 | { | 810 | { |
794 | } | 811 | } |
795 | else | 812 | else |
796 | { | 813 | { |
814 | if ( mMessage2 ) | ||
797 | mMessage2->setText( "" ); | 815 | mMessage2->setText( "" ); |
816 | if ( mParameters2 ) | ||
798 | mParameters2->setText( "" ); | 817 | mParameters2->setText( "" ); |
799 | } | 818 | } |
800 | 819 | ||
801 | if (enabled == true) { | 820 | if (enabled == true) { |
821 | if ( mMessage2 ) | ||
802 | mMessage2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); | 822 | mMessage2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); |
823 | if ( mParameters2 ) | ||
803 | mParameters2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); | 824 | mParameters2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); |
804 | } | 825 | } |
805 | 826 | ||
806 | 827 | ||
807 | blockSignals( blocked ); | 828 | blockSignals( blocked ); |
808 | 829 | ||
809 | } | 830 | } |
810 | 831 | ||
811 | void KDEPIMConfigWidget::usrReadConfig() | 832 | void KDEPIMConfigWidget::usrReadConfig() |
812 | { | 833 | { |
813 | KPimGlobalPrefs* prefs = KPimGlobalPrefs::instance(); | 834 | KPimGlobalPrefs* prefs = KPimGlobalPrefs::instance(); |
814 | 835 | ||