File indexing completed on 2024-12-15 03:45:03
0001 /* 0002 SPDX-FileCopyrightText: 2016 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #ifndef ABSTRACTDATASOURCEPRIVATE_H 0008 #define ABSTRACTDATASOURCEPRIVATE_H 0009 0010 #include "provider.h" 0011 0012 QT_BEGIN_NAMESPACE 0013 class QSettings; 0014 QT_END_NAMESPACE 0015 0016 namespace KUserFeedback { 0017 0018 class AbstractDataSourcePrivate 0019 { 0020 public: 0021 AbstractDataSourcePrivate(); 0022 virtual ~AbstractDataSourcePrivate(); 0023 0024 QString id; 0025 Provider::TelemetryMode mode; 0026 bool active; 0027 0028 void storeCommonSettings(QSettings *settings); 0029 void loadCommonSettings(QSettings *settings); 0030 void resetCommonSettings(QSettings *settings); 0031 0032 private: 0033 Q_DISABLE_COPY(AbstractDataSourcePrivate) 0034 }; 0035 0036 } 0037 0038 #endif // ABSTRACTDATASOURCEPRIVATE_H