Changeset View
Changeset View
Standalone View
Standalone View
src/provider/core/provider.h
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Line(s) | 99 | public: | |||
---|---|---|---|---|---|
103 | */ | 103 | */ | ||
104 | enum StatisticsCollectionMode { | 104 | enum StatisticsCollectionMode { | ||
105 | NoStatistics, ///< Transmit no data at all. | 105 | NoStatistics, ///< Transmit no data at all. | ||
106 | BasicSystemInformation = 0x10, ///< Transmit basic information about the system. | 106 | BasicSystemInformation = 0x10, ///< Transmit basic information about the system. | ||
107 | BasicUsageStatistics = 0x20, ///< Transmit basic usage statistics. | 107 | BasicUsageStatistics = 0x20, ///< Transmit basic usage statistics. | ||
108 | DetailedSystemInformation = 0x30, ///< Transmit detailed system information. | 108 | DetailedSystemInformation = 0x30, ///< Transmit detailed system information. | ||
109 | DetailedUsageStatistics = 0x40, ///< Transmit detailed usage statistics. | 109 | DetailedUsageStatistics = 0x40, ///< Transmit detailed usage statistics. | ||
110 | }; | 110 | }; | ||
111 | #if QT_VERSION >= QT_VERSION_CHECK(5, 5, 0) | ||||
112 | Q_ENUM(StatisticsCollectionMode) | ||||
113 | #else | ||||
111 | Q_ENUMS(StatisticsCollectionMode) | 114 | Q_ENUMS(StatisticsCollectionMode) | ||
115 | #endif | ||||
112 | 116 | | |||
113 | /*! Create a new feedback provider. | 117 | /*! Create a new feedback provider. | ||
114 | * @param parent The parent object. | 118 | * @param parent The parent object. | ||
115 | */ | 119 | */ | ||
116 | explicit Provider(QObject *parent = nullptr); | 120 | explicit Provider(QObject *parent = nullptr); | ||
117 | ~Provider(); | 121 | ~Provider(); | ||
118 | 122 | | |||
119 | /*! Returns the current product identifier. */ | 123 | /*! Returns the current product identifier. */ | ||
▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines |