summaryrefslogtreecommitdiffstats
path: root/libraries/ganalytics/include/ganalytics.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ganalytics/include/ganalytics.h')
-rw-r--r--libraries/ganalytics/include/ganalytics.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libraries/ganalytics/include/ganalytics.h b/libraries/ganalytics/include/ganalytics.h
index 48025dc1..1776c71e 100644
--- a/libraries/ganalytics/include/ganalytics.h
+++ b/libraries/ganalytics/include/ganalytics.h
@@ -39,8 +39,8 @@ public:
void setSendInterval(int milliseconds);
int sendInterval() const;
- void startSending();
- bool isSending() const;
+ void enable(bool state = true);
+ bool isEnabled();
/// Get or set the network access manager. If none is set, the class creates its own on the first request
void setNetworkAccessManager(QNetworkAccessManager *networkAccessManager);
@@ -54,9 +54,6 @@ public slots:
void startSession();
void endSession();
-signals:
- void isSendingChanged(bool isSending);
-
private:
GAnalyticsWorker *d;