From 80ca71fd98f6a0a52ca0f25a2a0b2ae6bc5fff6d Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Tue, 30 Oct 2012 18:49:20 +0100 Subject: [PATCH] minor improvements --- theme.cpp | 2 +- theme.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/theme.cpp b/theme.cpp index 409abe1ff..2ce1671f0 100644 --- a/theme.cpp +++ b/theme.cpp @@ -170,7 +170,7 @@ public: #ifdef Q_WS_X11 static EffectWatcher *s_blurEffectWatcher; #endif - + Theme *q; QString themeName; QList fallbackThemes; diff --git a/theme.h b/theme.h index 29c81df98..718c6934e 100644 --- a/theme.h +++ b/theme.h @@ -193,12 +193,12 @@ class PLASMA_EXPORT Theme : public QObject 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; /** - * 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;