bind BackgroundHints for use in declarative containments

This commit is contained in:
Marco Martin 2011-05-21 17:46:26 +02:00
parent a85aa04ffd
commit 7e88d41ebe

View File

@ -90,6 +90,8 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
Q_PROPERTY(bool shouldConserveResources READ shouldConserveResources)
Q_PROPERTY(uint id READ id)
Q_PROPERTY(bool userConfiguring READ isUserConfiguring)
Q_PROPERTY(BackgroundHints backgroundHints READ backgroundHints WRITE setBackgroundHints)
Q_ENUMS(BackgroundHints)
public:
typedef QList<Applet*> List;