Thermostat pour piloter jusqu'à 4 radiateurs avec fil pilote
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
557 B

  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. /*
  3. * Qt mutizone MQTT thermostat
  4. *
  5. * Copyright (C) 2019 Richard Genoud
  6. *
  7. */
  8. #ifndef SETTINGS_H
  9. #define SETTINGS_H
  10. #include <QStringList>
  11. #include <QSettings>
  12. class Settings : public QSettings
  13. {
  14. Q_OBJECT
  15. public:
  16. static Settings *getInstance(void);
  17. QStringList m_rooms_names;
  18. QStringList m_sensor_topics;
  19. QStringList m_availability_topics;
  20. private:
  21. Settings();
  22. ~Settings();
  23. static Settings *_singleton;
  24. };
  25. #endif // SETTINGS_H
  26. /* vim: set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab: */