/* SPDX-FileCopyrightText: 2020 Marco Martin SPDX-License-Identifier: LGPL-2.0-or-later */ #pragma once #include #include namespace KSysGuard { class SensorGroup { public: SensorGroup(); ~SensorGroup(); void retranslate(); QString groupRegexForId(const QString &key); QString sensorNameForRegEx(const QString &expr); QString segmentNameForRegEx(const QString &expr); private: QHash m_sensorNames; QHash m_segmentNames; }; } // namespace KSysGuard