[effects] Add type property to StartupFeedback Effect
Allows to read the configured type in support information.
This commit is contained in:
parent
5288363274
commit
075422fc5e
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue