Libksysguard

SensorGroup_p.h
1/*
2 SPDX-FileCopyrightText: 2020 Marco Martin <mart@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QHash>
10#include <QString>
11
12namespace KSysGuard
13{
14class SensorGroup
15{
16public:
17 SensorGroup();
18 ~SensorGroup();
19
20 void retranslate();
21
22 QString groupRegexForId(const QString &key);
23 QString sensorNameForRegEx(const QString &expr);
24 QString segmentNameForRegEx(const QString &expr);
25
26private:
27 QHash<QString, QString> m_sensorNames;
28 QHash<QString, QString> m_segmentNames;
29};
30} // namespace KSysGuard
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.