-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdeclarativecutoffeffect.h
46 lines (34 loc) · 1008 Bytes
/
declarativecutoffeffect.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* Copyright (c) 2011-2012 Nokia Corporation.
* All rights reserved.
*
* Part of the Qt GameEnabler.
*
* For the applicable distribution terms see the license text file included in
* the distribution.
*/
#ifndef DECLARATIVECUTOFFEFFECT_H
#define DECLARATIVECUTOFFEFFECT_H
#include "declarativeaudioeffect.h"
namespace GE {
class DeclarativeCutOffEffect : public DeclarativeAudioEffect
{
Q_OBJECT
Q_PROPERTY(float cutOff READ cutOff WRITE setCutOff NOTIFY cutOffChanged)
Q_PROPERTY(float resonance READ resonance WRITE setResonance
NOTIFY resonanceChanged)
public:
explicit DeclarativeCutOffEffect(QDeclarativeItem *parent = 0);
virtual ~DeclarativeCutOffEffect();
public slots:
void setCutOff(float value);
float cutOff();
void setResonance(float value);
float resonance();
signals:
void cutOffChanged();
void resonanceChanged();
};
} // namespace GE
QML_DECLARE_TYPE(GE::DeclarativeCutOffEffect)
#endif // DECLARATIVECUTOFFEFFECT_H