minor improvements

This commit is contained in:
Aaron Seigo 2012-10-30 18:49:20 +01:00
parent 6cbf841376
commit 80ca71fd98
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;