diff --git a/effects/presentwindows/presentwindows_config.cpp b/effects/presentwindows/presentwindows_config.cpp
index 7807d9eaae..58e117725e 100644
--- a/effects/presentwindows/presentwindows_config.cpp
+++ b/effects/presentwindows/presentwindows_config.cpp
@@ -71,7 +71,6 @@ PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QV
m_ui->shortcutEditor->addCollection( m_actionCollection );
connect( m_ui->layoutCombo, SIGNAL( currentIndexChanged( int )), this, SLOT( changed() ));
- connect( m_ui->rearrangeDurationSpin, SIGNAL( valueChanged( int )), this, SLOT( changed() ));
connect( m_ui->displayTitleBox, SIGNAL( stateChanged( int )), this, SLOT( changed() ));
connect( m_ui->displayIconBox, SIGNAL( stateChanged( int )), this, SLOT( changed() ));
connect( m_ui->switchingBox, SIGNAL( stateChanged( int )), this, SLOT( changed() ));
@@ -105,9 +104,6 @@ void PresentWindowsEffectConfig::load()
int layoutMode = conf.readEntry( "LayoutMode", int( PresentWindowsEffect::LayoutNatural ));
m_ui->layoutCombo->setCurrentIndex( layoutMode );
- m_ui->rearrangeDurationSpin->setValue( conf.readEntry( "RearrangeDuration", 0 ));
- m_ui->rearrangeDurationSpin->setSuffix(ki18np(" millisecond", " milliseconds"));
-
bool displayTitle = conf.readEntry( "DrawWindowCaptions", true );
m_ui->displayTitleBox->setChecked( displayTitle );
@@ -155,8 +151,6 @@ void PresentWindowsEffectConfig::save()
int layoutMode = m_ui->layoutCombo->currentIndex();
conf.writeEntry( "LayoutMode", layoutMode );
- conf.writeEntry( "RearrangeDuration", m_ui->rearrangeDurationSpin->value() );
-
conf.writeEntry( "DrawWindowCaptions", m_ui->displayTitleBox->isChecked() );
conf.writeEntry( "DrawWindowIcons", m_ui->displayIconBox->isChecked() );
conf.writeEntry( "TabBox", m_ui->switchingBox->isChecked() );
@@ -193,7 +187,6 @@ void PresentWindowsEffectConfig::save()
void PresentWindowsEffectConfig::defaults()
{
m_ui->layoutCombo->setCurrentIndex( int( PresentWindowsEffect::LayoutNatural ));
- m_ui->rearrangeDurationSpin->setValue( 0 );
m_ui->displayTitleBox->setChecked( true );
m_ui->displayIconBox->setChecked( true );
m_ui->switchingBox->setChecked( false );
diff --git a/effects/presentwindows/presentwindows_config.ui b/effects/presentwindows/presentwindows_config.ui
index 1426be1c75..b9ed9c42ea 100644
--- a/effects/presentwindows/presentwindows_config.ui
+++ b/effects/presentwindows/presentwindows_config.ui
@@ -6,128 +6,11 @@
0
0
- 542
+ 595
441
- -
-
-
- Appearance
-
-
-
-
-
-
- Rearrange &duration:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- rearrangeDurationSpin
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Default
-
-
- 5000
-
-
- 10
-
-
- 0
-
-
-
- -
-
-
- Layout mode:
-
-
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
-
- layoutCombo
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
-
- Natural
-
-
- -
-
- Regular Grid
-
-
- -
-
- Flexible Grid
-
-
-
-
- -
-
-
- Display window &titles
-
-
-
- -
-
-
- Display window &icons
-
-
-
- -
-
-
- Use for window &switching
-
-
-
- -
-
-
- Ignore &minimized windows
-
-
-
- -
-
-
- Show &panels
-
-
-
-
-
-
-
@@ -500,14 +383,91 @@
+ -
+
+
+ Appearance
+
+
+
-
+
+
+ Layout mode:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+ layoutCombo
+
+
+
+ -
+
+
+ Display window &titles
+
+
+
+ -
+
+
+ Display window &icons
+
+
+
+ -
+
+
+ Use for window &switching
+
+
+
+ -
+
+
+ Ignore &minimized windows
+
+
+
+ -
+
+
+ Show &panels
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
-
+
+ Natural
+
+
+ -
+
+ Regular Grid
+
+
+ -
+
+ Flexible Grid
+
+
+
+
+
+
+
-
- KIntSpinBox
- QSpinBox
-
-
KWin::GlobalShortcutsEditor
QWidget
@@ -516,7 +476,6 @@
- rearrangeDurationSpin
layoutCombo
displayTitleBox
displayIconBox