I think I have fixed background enum API doc.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874503
This commit is contained in:
parent
ea4c9227bc
commit
cf3a8181de
14
applet.h
14
applet.h
|
@ -90,16 +90,14 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
||||||
* Description on how draw a background for the applet
|
* Description on how draw a background for the applet
|
||||||
*/
|
*/
|
||||||
enum BackgroundHint {
|
enum BackgroundHint {
|
||||||
NoBackground = 0, /** Not drawing a background under the
|
NoBackground = 0, /**< Not drawing a background under the
|
||||||
applet, the applet has its own implementation */
|
applet, the applet has its own implementation */
|
||||||
StandardBackground = 1, /** The standard background from the theme is drawn */
|
StandardBackground = 1, /**< The standard background from the theme is drawn */
|
||||||
TranslucentBackground = 2,/** An alternate version of the background is drawn,
|
TranslucentBackground = 2, /**< An alternate version of the background is drawn,
|
||||||
usually more translucent */
|
usually more translucent */
|
||||||
ShadowedBackground = 4, /** The applet has a drop shadow */
|
ShadowedBackground = 4, /**< The applet has a drop shadow */
|
||||||
DefaultBackground = StandardBackground | ShadowedBackground
|
DefaultBackground = StandardBackground | ShadowedBackground /**< Default settings:
|
||||||
/** Default settings:
|
both standard background and shadow */
|
||||||
both standard background
|
|
||||||
and shadow */
|
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS(BackgroundHints, BackgroundHint)
|
Q_DECLARE_FLAGS(BackgroundHints, BackgroundHint)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user