summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kcmconfigs/kabconfigwidget.cpp
Side-by-side diff
Diffstat (limited to 'kaddressbook/kcmconfigs/kabconfigwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kcmconfigs/kabconfigwidget.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.cpp b/kaddressbook/kcmconfigs/kabconfigwidget.cpp
index b5309c0..31ab7b5 100644
--- a/kaddressbook/kcmconfigs/kabconfigwidget.cpp
+++ b/kaddressbook/kcmconfigs/kabconfigwidget.cpp
@@ -112,4 +112,7 @@ KABConfigWidget::KABConfigWidget( QWidget *parent, const char *name )
boxLayout->addWidget( mNameParsing );
+ mMultipleViewsAtOnce = new QCheckBox( i18n( "Display List and Details at once (restart)" ), groupBox, "mdisplay" );
+ boxLayout->addWidget( mMultipleViewsAtOnce );
+
layout->addWidget( groupBox );
@@ -117,5 +120,5 @@ KABConfigWidget::KABConfigWidget( QWidget *parent, const char *name )
//extensions groupbox
- groupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Extensions" ), generalPage );
+ groupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Extensions (restart)" ), generalPage );
boxLayout = new QVBoxLayout( groupBox->layout() );
boxLayout->setAlignment( Qt::AlignTop );
@@ -140,4 +143,5 @@ KABConfigWidget::KABConfigWidget( QWidget *parent, const char *name )
connect( mNameParsing, SIGNAL( toggled( bool ) ), this, SLOT( modified() ) );
connect( mViewsSingleClickBox, SIGNAL( toggled( bool ) ), this, SLOT( modified() ) );
+ connect( mMultipleViewsAtOnce, SIGNAL( toggled( bool ) ), this, SLOT( modified() ) );
connect( mExtensionView, SIGNAL( selectionChanged( QListViewItem* ) ),
SLOT( selectionChanged( QListViewItem* ) ) );
@@ -166,4 +170,5 @@ void KABConfigWidget::restoreSettings(KABPrefs* prefs)
mNameParsing->setChecked( prefs->mAutomaticNameParsing );
mViewsSingleClickBox->setChecked( prefs->mHonorSingleClick );
+ mMultipleViewsAtOnce->setChecked( prefs->mMultipleViewsAtOnce );
mAddresseeWidget->restoreSettings();
@@ -180,4 +185,5 @@ void KABConfigWidget::saveSettings(KABPrefs* prefs)
prefs->mAutomaticNameParsing = mNameParsing->isChecked();
prefs->mHonorSingleClick = mViewsSingleClickBox->isChecked();
+ prefs->mMultipleViewsAtOnce = mMultipleViewsAtOnce->isChecked();
mAddresseeWidget->saveSettings();
@@ -193,4 +199,5 @@ void KABConfigWidget::defaults(KABPrefs* prefs)
mNameParsing->setChecked( true );
mViewsSingleClickBox->setChecked( false );
+ mMultipleViewsAtOnce->setChecked( true );
emit changed( true );