[effects] Add type property to StartupFeedback Effect

Allows to read the configured type in support information.
This commit is contained in:
Martin Gräßlin 2014-10-20 14:50:41 +02:00
parent 5288363274
commit 075422fc5e

View file

@ -33,6 +33,7 @@ class StartupFeedbackEffect
: public Effect
{
Q_OBJECT
Q_PROPERTY(int type READ type)
public:
StartupFeedbackEffect();
virtual ~StartupFeedbackEffect();
@ -47,6 +48,10 @@ public:
return 90;
}
int type() const {
return int(m_type);
}
static bool supported();
private Q_SLOTS: