don't expose windowTranslucencyEnabled

This commit is contained in:
Marco Martin 2013-03-11 17:39:42 +01:00
parent 2894eef3c4
commit 62c8a7b500
4 changed files with 0 additions and 17 deletions

View File

@ -73,11 +73,6 @@ QSizeF ThemeProxy::mSize(const QFont &font) const
}
bool ThemeProxy::windowTranslucencyEnabled() const
{
return Plasma::Theme::defaultTheme()->windowTranslucencyEnabled();
}
KUrl ThemeProxy::homepage() const
{
return Plasma::Theme::defaultTheme()->homepage();

View File

@ -40,7 +40,6 @@ class ThemeProxy : public QObject
Q_OBJECT
Q_PROPERTY(QString themeName READ themeName NOTIFY themeChanged)
Q_PROPERTY(bool windowTranslucentEnabled READ windowTranslucencyEnabled NOTIFY themeChanged)
Q_PROPERTY(KUrl homepage READ homepage NOTIFY themeChanged)
Q_PROPERTY(bool useGlobalSettings READ useGlobalSettings NOTIFY themeChanged)
Q_PROPERTY(QString wallpaperPath READ wallpaperPath NOTIFY themeChanged)
@ -98,7 +97,6 @@ public:
*/
Q_INVOKABLE QSizeF mSize(const QFont &font = QApplication::font()) const;
bool windowTranslucencyEnabled() const;
KUrl homepage() const;
bool useGlobalSettings() const;
QString wallpaperPath() const;

View File

@ -829,11 +829,6 @@ QColor Theme::color(ColorRole role) const
return QColor();
}
bool Theme::windowTranslucencyEnabled() const
{
return d->compositingActive;
}
void Theme::setUseGlobalSettings(bool useGlobal)
{
if (d->useGlobal == useGlobal) {

View File

@ -148,11 +148,6 @@ class PLASMA_EXPORT Theme : public QObject
*/
QColor color(ColorRole role) const;
/**
* @return true if the window manager effects (e.g. translucency, compositing) is active or not
*/
bool windowTranslucencyEnabled() const;
/**
* Tells the theme whether to follow the global settings or use application
* specific settings