KUserFeedback
abstractdatasource.cpp
Base class for data sources for telemetry data.
Definition abstractdatasource.h:25
void load(QSettings *settings)
Load persistent state for this data source.
Definition abstractdatasource.cpp:103
AbstractDataSource(const QString &id, Provider::TelemetryMode mode=Provider::DetailedUsageStatistics)
Create a new data source named name.
Definition abstractdatasource.cpp:55
void setActive(bool active)
Changes active state of the data source.
Definition abstractdatasource.cpp:150
virtual void resetImpl(QSettings *settings)
Invoked by reset() in order to reset individual settings of this data source.
Definition abstractdatasource.cpp:98
void reset(QSettings *settings)
Reset the persistent state of this data source.
Definition abstractdatasource.cpp:119
virtual void storeImpl(QSettings *settings)
Invoked by store() in order to store individual settings of this data source.
Definition abstractdatasource.cpp:93
virtual QString name() const
Returns a short name of this data source.
Definition abstractdatasource.cpp:78
void setTelemetryMode(Provider::TelemetryMode mode)
Sets which telemetry colleciton mode this data source belongs to.
Definition abstractdatasource.cpp:137
Provider::TelemetryMode telemetryMode() const
Returns which telemetry colleciton mode this data source belongs to.
Definition abstractdatasource.cpp:127
bool isActive() const
Checks whether this data source is active or not If the data source is not active,...
Definition abstractdatasource.cpp:144
virtual void loadImpl(QSettings *settings)
Invoked by load() in order to load individual settings of this data source.
Definition abstractdatasource.cpp:88
void store(QSettings *settings)
Store persistent state for this data source.
Definition abstractdatasource.cpp:111
The central object managing data sources and transmitting feedback to the server.
Definition provider.h:32
Classes for integrating telemetry collection, survey targeting, and contribution encouragenemt and co...
Definition surveytargetexpression.h:16
void beginGroup(QAnyStringView prefix)
void endGroup()
void setValue(QAnyStringView key, const QVariant &value)
QVariant value(QAnyStringView key) const const
bool toBool() const const
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.