aboutsummaryrefslogtreecommitdiffstats
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-13 11:37:13 +0100
commitf8da591c53f17df877e354896dbbf18410c53b6c (patch)
tree94fb768d48645f98b5fc48f585785f18e3433484
parent1b8ad361e3955ee469a38486a715bc0dc615c59f (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>
-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);
};