aboutsummaryrefslogtreecommitdiffstats
path: root/app/mixer.h
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-12-13 11:37:13 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2018-12-19 18:21:18 +0100
commit34ff9f8c02a90fa0cce8ee6c1d4b87c300771bdc (patch)
tree399829ecc8212e8edee8295ab68f238ede16df19 /app/mixer.h
parent73ccc498819462d7de5f549037c3847e1cf0088d (diff)
Fix indent using tab instead of spaces
The whole project is using tabs to indent, but mixer.h is using spaces instead. Fix by using tabs. Change-Id: Id8ee0a86f027b50c9181d9b9b0af4ed9ee34498e Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'app/mixer.h')
-rw-r--r--app/mixer.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/app/mixer.h b/app/mixer.h
index 5cbb819..bc1b740 100644
--- a/app/mixer.h
+++ b/app/mixer.h
@@ -25,34 +25,34 @@
#include "qafbwebsocketclient.h"
class Mixer
- : public QObject
+ : public QObject
{
- Q_OBJECT
- Q_PROPERTY(QStringList roles READ roles NOTIFY rolesChanged)
+ Q_OBJECT
+ Q_PROPERTY(QStringList roles READ roles NOTIFY rolesChanged)
private:
- QUrl m_url;
- QMap<QString, int> m_volumes;
- QStringList m_roles;
- QAfbWebsocketClient m_client;
+ QUrl m_url;
+ QMap<QString, int> m_volumes;
+ QStringList m_roles;
+ QAfbWebsocketClient m_client;
public:
- explicit Mixer(QObject* parent = nullptr);
- Mixer(const Mixer&) = delete;
+ explicit Mixer(QObject* parent = nullptr);
+ Mixer(const Mixer&) = delete;
- Q_INVOKABLE void open(const QUrl& url);
- Q_INVOKABLE QStringList roles() const;
- Q_INVOKABLE void setVolume(const QString& name, int value);
- Q_INVOKABLE void getVolume(const QString& name);
+ Q_INVOKABLE void open(const QUrl& url);
+ Q_INVOKABLE QStringList roles() const;
+ Q_INVOKABLE void setVolume(const QString& name, int value);
+ Q_INVOKABLE void getVolume(const QString& name);
signals:
- void rolesChanged();
- void volumeChanged(const QString& name, int value);
+ void rolesChanged();
+ void volumeChanged(const QString& name, int value);
private slots:
- void onClientConnected();
- void onClientDisconnected();
- void onClientError(QAbstractSocket::SocketError se);
- void onRetryOpen();
- void onClientEventReceived(QString eventName, const QJsonValue& data);
+ void onClientConnected();
+ void onClientDisconnected();
+ void onClientError(QAbstractSocket::SocketError se);
+ void onRetryOpen();
+ void onClientEventReceived(QString eventName, const QJsonValue& data);
};