summaryrefslogtreecommitdiffstats
path: root/libraries/ganalytics/src/ganalytics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ganalytics/src/ganalytics.cpp')
-rw-r--r--libraries/ganalytics/src/ganalytics.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libraries/ganalytics/src/ganalytics.cpp b/libraries/ganalytics/src/ganalytics.cpp
index 8d25efe9..a03dfcad 100644
--- a/libraries/ganalytics/src/ganalytics.cpp
+++ b/libraries/ganalytics/src/ganalytics.cpp
@@ -60,6 +60,16 @@ QString GAnalytics::language() const
return d->m_language;
}
+void GAnalytics::setAnonymizeIPs(bool anonymize)
+{
+ d->m_anonymizeIPs = anonymize;
+}
+
+bool GAnalytics::anonymizeIPs()
+{
+ return d->m_anonymizeIPs;
+}
+
void GAnalytics::setSendInterval(int milliseconds)
{
d->m_timer.setInterval(milliseconds);