Fixed indentation.

svn path=/trunk/KDE/kdebase/workspace/; revision=1174511
This commit is contained in:
Hugo Pereira Da Costa 2010-09-12 18:05:24 +00:00
parent 256a1a79c3
commit d4d985b30d
2 changed files with 31 additions and 31 deletions

View file

@ -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() ) );
}
}

View file

@ -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() ); }
};
};
}