Mercurial > hg > svcore
comparison base/PlayParameters.h @ 1580:c01cbe41aeb5 fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:48:45 +0000 |
parents | 3a3541b357fe |
children | 52705a328b34 |
comparison
equal
deleted
inserted
replaced
1579:232d6ddf257d | 1580:c01cbe41aeb5 |
---|---|
11 published by the Free Software Foundation; either version 2 of the | 11 published by the Free Software Foundation; either version 2 of the |
12 License, or (at your option) any later version. See the file | 12 License, or (at your option) any later version. See the file |
13 COPYING included with this distribution for more information. | 13 COPYING included with this distribution for more information. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef _PLAY_PARAMETERS_H_ | 16 #ifndef SV_PLAY_PARAMETERS_H |
17 #define _PLAY_PARAMETERS_H_ | 17 #define SV_PLAY_PARAMETERS_H |
18 | 18 |
19 #include <QObject> | 19 #include <QObject> |
20 | 20 |
21 #include "XmlExportable.h" | 21 #include "XmlExportable.h" |
22 | 22 |
34 | 34 |
35 virtual QString getPlayClipId() const { return m_playClipId; } | 35 virtual QString getPlayClipId() const { return m_playClipId; } |
36 | 36 |
37 virtual void copyFrom(const PlayParameters *); | 37 virtual void copyFrom(const PlayParameters *); |
38 | 38 |
39 virtual void toXml(QTextStream &stream, | 39 void toXml(QTextStream &stream, |
40 QString indent = "", | 40 QString indent = "", |
41 QString extraAttributes = "") const; | 41 QString extraAttributes = "") const override; |
42 | 42 |
43 public slots: | 43 public slots: |
44 virtual void setPlayMuted(bool muted); | 44 virtual void setPlayMuted(bool muted); |
45 virtual void setPlayAudible(bool nonMuted); | 45 virtual void setPlayAudible(bool nonMuted); |
46 virtual void setPlayPan(float pan); | 46 virtual void setPlayPan(float pan); |