Q_SLOTS/Q_SIGNALS in Oxygen windeco

This commit is contained in:
Martin Gräßlin 2013-07-30 06:47:50 +02:00
parent 075b0602e9
commit f5819656b6
12 changed files with 21 additions and 21 deletions

View file

@ -55,7 +55,7 @@ namespace Oxygen
void setConfiguration( ConfigurationPtr configuration ) void setConfiguration( ConfigurationPtr configuration )
{ _configuration = configuration; } { _configuration = configuration; }
public slots: public Q_SLOTS:
//! read current configuration //! read current configuration
virtual void load( void ); virtual void load( void );
@ -63,7 +63,7 @@ namespace Oxygen
//! save current configuration //! save current configuration
virtual void save( void ); virtual void save( void );
protected slots: protected Q_SLOTS:
//! check whether configuration is changed and emit appropriate signal if yes //! check whether configuration is changed and emit appropriate signal if yes
virtual void updateChanged(); virtual void updateChanged();

View file

@ -55,7 +55,7 @@ namespace Oxygen {
//! destructor //! destructor
~Config(); ~Config();
signals: Q_SIGNALS:
//! emmited whenever configuration is changed //! emmited whenever configuration is changed
void changed(); void changed();
@ -63,7 +63,7 @@ namespace Oxygen {
//! emmited whenever configuration is changed //! emmited whenever configuration is changed
void changed( bool ); void changed( bool );
public slots: public Q_SLOTS:
//! load configuration //! load configuration
/*! although kconfiggroup argument is not used. It is required by KWin API */ /*! although kconfiggroup argument is not used. It is required by KWin API */
@ -87,7 +87,7 @@ namespace Oxygen {
//! toggle expert mode //! toggle expert mode
void toggleExpertMode( bool ); void toggleExpertMode( bool );
private slots: private Q_SLOTS:
//! update change state //! update change state
void updateChanged( void ); void updateChanged( void );

View file

@ -81,12 +81,12 @@ namespace Oxygen
//! event filter //! event filter
virtual bool eventFilter( QObject*, QEvent* ); virtual bool eventFilter( QObject*, QEvent* );
signals: Q_SIGNALS:
//! emmited when changed //! emmited when changed
void changed( bool ); void changed( bool );
protected slots: protected Q_SLOTS:
//! toggle expert mode //! toggle expert mode
void toggleExpertModeInternal( void ) void toggleExpertModeInternal( void )

View file

@ -72,7 +72,7 @@ namespace Oxygen
else return Configuration::ExceptionWindowClassName; else return Configuration::ExceptionWindowClassName;
} }
signals: Q_SIGNALS:
void detectionDone( bool ); void detectionDone( bool );

View file

@ -64,7 +64,7 @@ namespace Oxygen
virtual bool isChanged( void ) const virtual bool isChanged( void ) const
{ return _changed; } { return _changed; }
signals: Q_SIGNALS:
//! emmited when changed //! emmited when changed
void changed( bool ); void changed( bool );
@ -78,12 +78,12 @@ namespace Oxygen
emit changed( value ); emit changed( value );
} }
protected slots: protected Q_SLOTS:
//! check whether configuration is changed and emit appropriate signal if yes //! check whether configuration is changed and emit appropriate signal if yes
virtual void updateChanged(); virtual void updateChanged();
private slots: private Q_SLOTS:
//! select window properties from grabbed pointers //! select window properties from grabbed pointers
void selectWindowProperties( void ); void selectWindowProperties( void );

View file

@ -53,7 +53,7 @@ namespace Oxygen
virtual bool isChanged( void ) const virtual bool isChanged( void ) const
{ return _changed; } { return _changed; }
signals: Q_SIGNALS:
//! emitted when changed //! emitted when changed
void changed( bool ); void changed( bool );
@ -68,7 +68,7 @@ namespace Oxygen
ExceptionModel& model() ExceptionModel& model()
{ return _model; } { return _model; }
protected slots: protected Q_SLOTS:
//! update button states //! update button states
virtual void updateButtons( void ); virtual void updateButtons( void );

View file

@ -50,7 +50,7 @@ namespace Oxygen
virtual ~ShadowDemoDialog( void ) virtual ~ShadowDemoDialog( void )
{} {}
protected slots: protected Q_SLOTS:
//! reparse configuration //! reparse configuration
void reparseConfiguration( void ); void reparseConfiguration( void );

View file

@ -87,7 +87,7 @@ namespace Oxygen
if( isVisible() ) update(); if( isVisible() ) update();
} }
protected slots: protected Q_SLOTS:
//! toggle background drawing //! toggle background drawing
void toggleBackground( bool value ) void toggleBackground( bool value )

View file

@ -168,7 +168,7 @@ namespace Oxygen
//@} //@}
private slots: private Q_SLOTS:
void slotAppMenuHidden(); void slotAppMenuHidden();
private: private:

View file

@ -236,7 +236,7 @@ namespace Oxygen
//! paint background to painter //! paint background to painter
void paintBackground( QPainter& ) const; void paintBackground( QPainter& ) const;
public slots: public Q_SLOTS:
//! triggers widget update in titleRect only //! triggers widget update in titleRect only
/*! one needs to add the title top margin to avoid some clipping glitches */ /*! one needs to add the title top margin to avoid some clipping glitches */
@ -419,7 +419,7 @@ namespace Oxygen
//! remove shadow hint //! remove shadow hint
void removeShadowHint( void ); void removeShadowHint( void );
protected slots: protected Q_SLOTS:
//! set target item to -1 //! set target item to -1
void clearTargetItem( void ); void clearTargetItem( void );

View file

@ -51,12 +51,12 @@ namespace Oxygen
//! event filter //! event filter
virtual bool eventFilter( QObject*, QEvent* ); virtual bool eventFilter( QObject*, QEvent* );
public slots: public Q_SLOTS:
//! update background color //! update background color
void activeChange( void ); void activeChange( void );
protected slots: protected Q_SLOTS:
//! embed into parent widget //! embed into parent widget
void embed( void ); void embed( void );

View file

@ -154,7 +154,7 @@ namespace Oxygen
bool isDirty( void ) const bool isDirty( void ) const
{ return _dirty; } { return _dirty; }
signals: Q_SIGNALS:
void pixmapsChanged( void ); void pixmapsChanged( void );