tabulations.

icc-effect-5.14.5
Hugo Pereira Da Costa 2011-07-17 16:27:26 +02:00
parent 0ae4d9489f
commit 31d6f0e7ac
1 changed files with 44 additions and 44 deletions

View File

@ -38,74 +38,74 @@
namespace Oxygen {
class Configuration;
class ShadowConfiguration;
class Configuration;
class ShadowConfiguration;
// oxygen configuration object
class Config: public QObject
{
// oxygen configuration object
class Config: public QObject
{
Q_OBJECT
Q_OBJECT
public:
public:
//! constructor
Config( KConfig* conf, QWidget* parent );
//! constructor
Config( KConfig* conf, QWidget* parent );
//! destructor
~Config();
//! destructor
~Config();
signals:
signals:
//! emmited whenever configuration is changed
void changed();
//! emmited whenever configuration is changed
void changed();
//! emmited whenever configuration is changed
void changed( bool );
//! emmited whenever configuration is changed
void changed( bool );
public slots:
public slots:
//! load configuration
void load( const KConfigGroup& );
//! load configuration
void load( const KConfigGroup& );
//! save configuration
void save( KConfigGroup& );
//! save configuration
void save( KConfigGroup& );
//! restore defaults
void defaults( void );
//! restore defaults
void defaults( void );
//! toggle expert mode
void toggleExpertMode( bool );
//! toggle expert mode
void toggleExpertMode( bool );
private slots:
private slots:
//! update change state
void updateChanged( void );
//! update change state
void updateChanged( void );
private:
private:
//! load configuration
void loadConfiguration( const Configuration& );
//! load configuration
void loadConfiguration( const Configuration& );
//! load configuration
void loadShadowConfiguration( QPalette::ColorGroup, const ShadowConfiguration& );
//! load configuration
void loadShadowConfiguration( QPalette::ColorGroup, const ShadowConfiguration& );
//! load configuration
void saveShadowConfiguration( QPalette::ColorGroup, const ShadowConfigurationUi& ) const;
//! load configuration
void saveShadowConfiguration( QPalette::ColorGroup, const ShadowConfigurationUi& ) const;
//! returns true if shadow configuration changed
bool shadowConfigurationChanged( const ShadowConfiguration&, const ShadowConfigurationUi& ) const;
//! returns true if shadow configuration changed
bool shadowConfigurationChanged( const ShadowConfiguration&, const ShadowConfigurationUi& ) const;
//! returns true if exception list is changed
bool exceptionListChanged( void ) const;
//! returns true if exception list is changed
bool exceptionListChanged( void ) const;
//! user interface
ConfigurationUi *ui;
//! user interface
ConfigurationUi *ui;
//! kconfiguration object
KConfig *_configuration;
//! kconfiguration object
KConfig *_configuration;
};
};
} //namespace Oxygen