Fixed Krazy warning about explicit constructors.
Fixed krazy warning about invalid ifdef guard in include Fixed Krazy warning about signal/slot normalization. fixed Krazy spelling warning in comments.
This commit is contained in:
parent
b0a822c85e
commit
d27416983d
5 changed files with 31 additions and 31 deletions
|
@ -63,31 +63,31 @@ namespace Oxygen
|
|||
toggleExpertModeInternal( false );
|
||||
|
||||
// connections
|
||||
connect( ui._expertModeButton, SIGNAL( clicked( void ) ), SLOT( toggleExpertModeInternal( void ) ) );
|
||||
connect( _animationConfigWidget, SIGNAL( layoutChanged( void ) ), SLOT(updateLayout( void ) ) );
|
||||
connect( ui._expertModeButton, SIGNAL(clicked()), SLOT(toggleExpertModeInternal()) );
|
||||
connect( _animationConfigWidget, SIGNAL(layoutChanged()), SLOT(updateLayout()) );
|
||||
|
||||
// track ui changes
|
||||
connect( ui.titleAlignment, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.buttonSize, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.frameBorder, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.blendColor, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.titleAlignment, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.buttonSize, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.frameBorder, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.blendColor, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
|
||||
connect( ui.titleOutline, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.drawSizeGrip, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.narrowButtonSpacing, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.closeFromMenuButton, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.separatorMode, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.titleOutline, SIGNAL(clicked()), SLOT(updateChanged()) );
|
||||
connect( ui.drawSizeGrip, SIGNAL(clicked()), SLOT(updateChanged()) );
|
||||
connect( ui.narrowButtonSpacing, SIGNAL(clicked()), SLOT(updateChanged()) );
|
||||
connect( ui.closeFromMenuButton, SIGNAL(clicked()), SLOT(updateChanged()) );
|
||||
connect( ui.separatorMode, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
|
||||
// track exception changes
|
||||
connect( ui.exceptions, SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.exceptions, SIGNAL(changed(bool)), SLOT(updateChanged()) );
|
||||
|
||||
// track shadow configuration changes
|
||||
connect( shadowConfigurations[0], SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( shadowConfigurations[1], SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( shadowConfigurations[0], SIGNAL(changed(bool)), SLOT(updateChanged()) );
|
||||
connect( shadowConfigurations[1], SIGNAL(changed(bool)), SLOT(updateChanged()) );
|
||||
|
||||
// track animations changes
|
||||
connect( ui.animationsEnabled, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( _animationConfigWidget, SIGNAL( changed( bool ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.animationsEnabled, SIGNAL(clicked()), SLOT(updateChanged()) );
|
||||
connect( _animationConfigWidget, SIGNAL(changed(bool)), SLOT(updateChanged()) );
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef oxygenconfigurationui_h
|
||||
#define oxygenconfigurationui_h
|
||||
#ifndef oxygenconfigwidget_h
|
||||
#define oxygenconfigwidget_h
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// oxygenconfigurationui.h
|
||||
// -------------------
|
||||
|
|
|
@ -51,21 +51,21 @@ namespace Oxygen
|
|||
_checkBoxes.insert( DrawSeparator, ui.separatorCheckBox );
|
||||
|
||||
// detect window properties
|
||||
connect( ui.detectDialogButton, SIGNAL( clicked( void ) ), SLOT(selectWindowProperties()) );
|
||||
connect( ui.detectDialogButton, SIGNAL(clicked()), SLOT(selectWindowProperties()) );
|
||||
|
||||
// connections
|
||||
connect( ui.exceptionType, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.exceptionEditor, SIGNAL( textChanged( const QString& ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.frameBorderComboBox, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.blendColorComboBox, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.sizeGripComboBox, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.titleOutlineComboBox, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.separatorComboBox, SIGNAL( currentIndexChanged( int ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.exceptionType, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.exceptionEditor, SIGNAL(textChanged(QString)), SLOT(updateChanged()) );
|
||||
connect( ui.frameBorderComboBox, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.blendColorComboBox, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.sizeGripComboBox, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.titleOutlineComboBox, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
connect( ui.separatorComboBox, SIGNAL(currentIndexChanged(int)), SLOT(updateChanged()) );
|
||||
|
||||
for( CheckBoxMap::iterator iter = _checkBoxes.begin(); iter != _checkBoxes.end(); ++iter )
|
||||
{ connect( iter.value(), SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) ); }
|
||||
{ connect( iter.value(), SIGNAL(clicked()), SLOT(updateChanged()) ); }
|
||||
|
||||
connect( ui.hideTitleBar, SIGNAL( clicked( void ) ), SLOT( updateChanged( void ) ) );
|
||||
connect( ui.hideTitleBar, SIGNAL(clicked()), SLOT(updateChanged()) );
|
||||
}
|
||||
|
||||
//___________________________________________
|
||||
|
|
Loading…
Reference in a new issue