mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 14:25:50 +00:00
massive changes inside
* use pass by ref instead of by value if possible * use reference in interation over collections * fix no tag inserting
This commit is contained in:
@ -34,17 +34,18 @@ public:
|
||||
const char *REMOTE_TELEMETRY_URL = "https://arcanis.me/telemetry";
|
||||
|
||||
explicit AWTelemetryHandler(QObject *parent = nullptr,
|
||||
const QString clientId = QString());
|
||||
const QString &clientId = QString());
|
||||
virtual ~AWTelemetryHandler();
|
||||
Q_INVOKABLE QStringList get(const QString group) const;
|
||||
Q_INVOKABLE QString getLast(const QString group) const;
|
||||
Q_INVOKABLE QStringList get(const QString &group) const;
|
||||
Q_INVOKABLE QString getLast(const QString &group) const;
|
||||
Q_INVOKABLE void init(const int count, const bool enableRemote,
|
||||
const QString clientId);
|
||||
Q_INVOKABLE bool put(const QString group, const QString value) const;
|
||||
Q_INVOKABLE void uploadTelemetry(const QString group, const QString value);
|
||||
const QString &clientId);
|
||||
Q_INVOKABLE bool put(const QString &group, const QString &value) const;
|
||||
Q_INVOKABLE void uploadTelemetry(const QString &group,
|
||||
const QString &value);
|
||||
|
||||
signals:
|
||||
void replyReceived(QString message);
|
||||
void replyReceived(const QString &message);
|
||||
|
||||
private slots:
|
||||
void telemetryReplyRecieved(QNetworkReply *reply);
|
||||
|
Reference in New Issue
Block a user