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.

37 lines
577 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. #define NB_ZONES 4
  13. class Settings : public QSettings
  14. {
  15. Q_OBJECT
  16. public:
  17. static Settings *getInstance(void);
  18. QStringList m_rooms_names;
  19. QStringList m_sensor_topics;
  20. QStringList m_availability_topics;
  21. private:
  22. Settings();
  23. ~Settings();
  24. static Settings *_singleton;
  25. };
  26. #endif // SETTINGS_H
  27. /* vim: set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab: */