liblancelot
Global.cpp
Go to the documentation of this file.
248 d->foregroundColor.normal = confGroupTheme.readEntry("foreground.color.normal", d->foregroundColor.normal);
249 d->foregroundColor.active = confGroupTheme.readEntry("foreground.color.active", d->foregroundColor.active);
250 d->foregroundColor.disabled = confGroupTheme.readEntry("foreground.color.disabled", d->foregroundColor.disabled);
260 d->backgroundColor.normal = confGroupTheme.readEntry("background.color.normal", d->backgroundColor.normal);
261 d->backgroundColor.active = confGroupTheme.readEntry("background.color.active", d->backgroundColor.active);
262 d->backgroundColor.disabled = confGroupTheme.readEntry("background.color.disabled", d->backgroundColor.disabled);
517 QString Global::config(const QString & group, const QString & field, const QString & defaultValue) const
void immutabilityChanged(const Plasma::ImmutabilityType immutable)
void setImmutability(const Plasma::ImmutabilityType immutable)
Sets immutability.
Definition: Global.cpp:490
void objectDeleted(QObject *object)
Definition: Global.cpp:327
void setGroupForObject(QObject *object, Group *group)
Sets the group for the object.
Definition: Global.cpp:473
Definition: Global_p.h:36
const ColorScheme * backgroundColor() const
Background color is one of the common properties, so a direct function that accesses it is provided...
Definition: Global.cpp:204
Plasma::FrameSvg * backgroundSvg() const
Background SVG image is one of the common properties, so a direct function that accesses it is provid...
Definition: Global.cpp:199
Plasma::ImmutabilityType immutability
Definition: Global_p.h:74
QSet< QString > persistentProperties
Definition: Global_p.h:48
void loadAllGroups(bool clearFirst=true)
Definition: Global.cpp:384
void clearProperty(const QString &property)
Clears the value of the specified property.
Definition: Global.cpp:189
void remove(QObject *object, bool setDefaultGroup=true)
Removes the object from the group.
Definition: Global.cpp:156
bool hasProperty(const QString &property) const
Definition: Global.cpp:164
Plasma::ImmutabilityType immutability() const
Definition: Global.cpp:500
This class contains the triplet od colors for three standard object states - normal, disabled and active.
Definition: Global.h:71
QVariant property(const QString &property) const
Definition: Global.cpp:169
Global object represents one instance of Lancelot-based process inside a main application.
Definition: Global.h:184
void load(bool full=false)
Loads the group properties from a configuration file.
Definition: Global.cpp:218
const ColorScheme * foregroundColor() const
Foreground color is one of the common properties, so a direct function that accesses it is provided...
Definition: Global.cpp:213
void setProperty(const QString &property, const QVariant &value, bool persistent=true)
Sets the value of the specified property.
Definition: Global.cpp:174
void setObjectProperty(QObject *object, const QString &property, const QVariant &value)
Definition: Global.cpp:61
Definition: Global_p.h:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.