don't expose windowTranslucencyEnabled
This commit is contained in:
parent
2894eef3c4
commit
62c8a7b500
@ -73,11 +73,6 @@ QSizeF ThemeProxy::mSize(const QFont &font) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ThemeProxy::windowTranslucencyEnabled() const
|
|
||||||
{
|
|
||||||
return Plasma::Theme::defaultTheme()->windowTranslucencyEnabled();
|
|
||||||
}
|
|
||||||
|
|
||||||
KUrl ThemeProxy::homepage() const
|
KUrl ThemeProxy::homepage() const
|
||||||
{
|
{
|
||||||
return Plasma::Theme::defaultTheme()->homepage();
|
return Plasma::Theme::defaultTheme()->homepage();
|
||||||
|
@ -40,7 +40,6 @@ class ThemeProxy : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
Q_PROPERTY(QString themeName READ themeName NOTIFY themeChanged)
|
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(KUrl homepage READ homepage NOTIFY themeChanged)
|
||||||
Q_PROPERTY(bool useGlobalSettings READ useGlobalSettings NOTIFY themeChanged)
|
Q_PROPERTY(bool useGlobalSettings READ useGlobalSettings NOTIFY themeChanged)
|
||||||
Q_PROPERTY(QString wallpaperPath READ wallpaperPath 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;
|
Q_INVOKABLE QSizeF mSize(const QFont &font = QApplication::font()) const;
|
||||||
|
|
||||||
bool windowTranslucencyEnabled() const;
|
|
||||||
KUrl homepage() const;
|
KUrl homepage() const;
|
||||||
bool useGlobalSettings() const;
|
bool useGlobalSettings() const;
|
||||||
QString wallpaperPath() const;
|
QString wallpaperPath() const;
|
||||||
|
@ -829,11 +829,6 @@ QColor Theme::color(ColorRole role) const
|
|||||||
return QColor();
|
return QColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Theme::windowTranslucencyEnabled() const
|
|
||||||
{
|
|
||||||
return d->compositingActive;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Theme::setUseGlobalSettings(bool useGlobal)
|
void Theme::setUseGlobalSettings(bool useGlobal)
|
||||||
{
|
{
|
||||||
if (d->useGlobal == useGlobal) {
|
if (d->useGlobal == useGlobal) {
|
||||||
|
@ -148,11 +148,6 @@ class PLASMA_EXPORT Theme : public QObject
|
|||||||
*/
|
*/
|
||||||
QColor color(ColorRole role) const;
|
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
|
* Tells the theme whether to follow the global settings or use application
|
||||||
* specific settings
|
* specific settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user