Make KDecorationOptions::updateSettings protected
Only called from KWin::Options, so no need to have it public.
This commit is contained in:
parent
ad85c6bc99
commit
d403bfcadb
1 changed files with 6 additions and 6 deletions
|
@ -275,12 +275,6 @@ class KWIN_EXPORT KDecorationOptions : public QObject, public KDecorationDefines
|
||||||
public:
|
public:
|
||||||
KDecorationOptions(QObject *parent = nullptr);
|
KDecorationOptions(QObject *parent = nullptr);
|
||||||
virtual ~KDecorationOptions();
|
virtual ~KDecorationOptions();
|
||||||
/**
|
|
||||||
* Call to update settings when the config changes. Return value is
|
|
||||||
* a combination of Setting* (SettingColors, etc.) that have changed.
|
|
||||||
* @since 4.0.1
|
|
||||||
*/
|
|
||||||
unsigned long updateSettings(KConfig* config);
|
|
||||||
/**
|
/**
|
||||||
* Returns the color that should be used for the given part of the decoration.
|
* Returns the color that should be used for the given part of the decoration.
|
||||||
* The changed flags for this setting is SettingColors.
|
* The changed flags for this setting is SettingColors.
|
||||||
|
@ -482,6 +476,12 @@ protected:
|
||||||
void setTitleButtonsLeft(const QString& b);
|
void setTitleButtonsLeft(const QString& b);
|
||||||
/** @internal */
|
/** @internal */
|
||||||
void setTitleButtonsRight(const QString& b);
|
void setTitleButtonsRight(const QString& b);
|
||||||
|
/**
|
||||||
|
* Call to update settings when the config changes.
|
||||||
|
* @since 4.0.1
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
void updateSettings(KConfig* config);
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
|
|
Loading…
Reference in a new issue