From d4d985b30d1e1b9177db0791679714e8e6976df2 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sun, 12 Sep 2010 18:05:24 +0000 Subject: [PATCH] Fixed indentation. svn path=/trunk/KDE/kdebase/workspace/; revision=1174511 --- .../config/oxygenshadowconfigurationui.cpp | 30 ++++++++--------- .../config/oxygenshadowconfigurationui.h | 32 +++++++++---------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/clients/oxygen/config/oxygenshadowconfigurationui.cpp b/clients/oxygen/config/oxygenshadowconfigurationui.cpp index 7adedf7c10..910da3d8e1 100644 --- a/clients/oxygen/config/oxygenshadowconfigurationui.cpp +++ b/clients/oxygen/config/oxygenshadowconfigurationui.cpp @@ -32,22 +32,22 @@ namespace Oxygen { - //_________________________________________________________ - ShadowConfigurationUi::ShadowConfigurationUi( QWidget* parent ): - QGroupBox( parent ) - { - ui.setupUi( this ); + //_________________________________________________________ + ShadowConfigurationUi::ShadowConfigurationUi( QWidget* parent ): + QGroupBox( parent ) + { + ui.setupUi( this ); - // connections - ui.outerColor->setEnabled( false ); - connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) ); - connect( this, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) ); + // connections + ui.outerColor->setEnabled( false ); + connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) ); + connect( this, SIGNAL( toggled( bool ) ), SLOT( enableOuterColor() ) ); - connect( ui.shadowSize, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) ); - connect( ui.verticalOffset, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) ); - connect( ui.innerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) ); - connect( ui.outerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) ); - connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) ); - } + connect( ui.shadowSize, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) ); + connect( ui.verticalOffset, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) ); + connect( ui.innerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) ); + connect( ui.outerColor, SIGNAL( changed( const QColor& ) ), SIGNAL( changed() ) ); + connect( ui.useOuterColor, SIGNAL( toggled( bool ) ), SIGNAL( changed() ) ); + } } diff --git a/clients/oxygen/config/oxygenshadowconfigurationui.h b/clients/oxygen/config/oxygenshadowconfigurationui.h index f50ae860c1..f7e81c4d9e 100644 --- a/clients/oxygen/config/oxygenshadowconfigurationui.h +++ b/clients/oxygen/config/oxygenshadowconfigurationui.h @@ -31,30 +31,30 @@ namespace Oxygen { - //_____________________________________________ - class ShadowConfigurationUi: public QGroupBox - { + //_____________________________________________ + class ShadowConfigurationUi: public QGroupBox + { - Q_OBJECT + Q_OBJECT - public: + public: - //! constructor - ShadowConfigurationUi( QWidget* ); - Ui_ShadowConfiguraionUI ui; + //! constructor + ShadowConfigurationUi( QWidget* ); + Ui_ShadowConfiguraionUI ui; - signals: + signals: - //! emmitted when configuration is changed - void changed( void ); + //! emmitted when configuration is changed + void changed( void ); - protected slots: + protected slots: - //! update enable state of outer color chooser - void enableOuterColor( void ) - { ui.outerColor->setEnabled( isChecked() && ui.useOuterColor->isChecked() ); } + //! update enable state of outer color chooser + void enableOuterColor( void ) + { ui.outerColor->setEnabled( isChecked() && ui.useOuterColor->isChecked() ); } - }; + }; }