minor improvements

This commit is contained in:
Aaron Seigo 2012-10-30 18:49:20 +01:00
parent 4288bb9744
commit 104634b9cd

View File

@ -178,12 +178,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;