minor improvements
This commit is contained in:
parent
6cbf841376
commit
80ca71fd98
@ -170,7 +170,7 @@ public:
|
|||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
static EffectWatcher *s_blurEffectWatcher;
|
static EffectWatcher *s_blurEffectWatcher;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Theme *q;
|
Theme *q;
|
||||||
QString themeName;
|
QString themeName;
|
||||||
QList<QString> fallbackThemes;
|
QList<QString> fallbackThemes;
|
||||||
|
4
theme.h
4
theme.h
@ -193,12 +193,12 @@ class PLASMA_EXPORT Theme : public QObject
|
|||||||
Q_INVOKABLE QFont font(FontRole role) const;
|
Q_INVOKABLE QFont font(FontRole role) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the font metrics for the font to be used by themed items
|
* @return the font metrics for the font to be used by themed items
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE QFontMetrics fontMetrics() const;
|
Q_INVOKABLE QFontMetrics fontMetrics() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns if the window manager effects (e.g. translucency, compositing) is active or not
|
* @return true if the window manager effects (e.g. translucency, compositing) is active or not
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE bool windowTranslucencyEnabled() const;
|
Q_INVOKABLE bool windowTranslucencyEnabled() const;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user