|
MythTV master
|
#include <utility>#include <QDomElement>#include <QFile>#include <QMap>#include <QMetaType>#include <QMultiHash>#include <QString>#include <libmythbase/mythchrono.h>Go to the source code of this file.
Classes | |
| class | TypeListInfo |
| class | ScreenListInfo |
Typedefs | |
| using | units_t = unsigned char |
| using | DataMap = QMap< QString, QString > |
| using | TypeListMap = QMultiHash< QString, TypeListInfo > |
| using | ScreenListMap = QMap< QString, ScreenListInfo > |
Functions | |
| Q_DECLARE_METATYPE (ScreenListInfo *) | |
| ScreenListMap | loadScreens () |
| QStringList | loadScreen (const QDomElement &ScreenListInfo) |
| bool | doLoadScreens (const QString &filename, ScreenListMap &screens) |
Variables | |
| static constexpr uint8_t | SI_UNITS { 0 } |
| static constexpr uint8_t | ENG_UNITS { 1 } |
| static constexpr std::chrono::minutes | DEFAULT_UPDATE_TIMEOUT { 5min } |
| static constexpr std::chrono::seconds | DEFAULT_SCRIPT_TIMEOUT { 60s } |
| using DataMap = QMap<QString, QString> |
Definition at line 26 of file weatherUtils.h.
| using ScreenListMap = QMap<QString, ScreenListInfo> |
Definition at line 68 of file weatherUtils.h.
| using TypeListMap = QMultiHash<QString, TypeListInfo> |
Definition at line 46 of file weatherUtils.h.
| using units_t = unsigned char |
Definition at line 25 of file weatherUtils.h.
| bool doLoadScreens | ( | const QString & | filename, |
| ScreenListMap & | screens | ||
| ) |
Definition at line 75 of file weatherUtils.cpp.
Referenced by loadScreens().
| QStringList loadScreen | ( | const QDomElement & | ScreenListInfo | ) |
Definition at line 116 of file weatherUtils.cpp.
Referenced by doLoadScreens().
| ScreenListMap loadScreens | ( | ) |
Definition at line 42 of file weatherUtils.cpp.
Referenced by ScreenSetup::loadData(), and Weather::Weather().
| Q_DECLARE_METATYPE | ( | ScreenListInfo * | ) |
|
staticconstexpr |
Definition at line 21 of file weatherUtils.h.
Referenced by WeatherSource::ProbeTimeouts().
|
staticconstexpr |
Definition at line 20 of file weatherUtils.h.
Referenced by WeatherSource::ProbeTimeouts().
|
staticconstexpr |
Definition at line 19 of file weatherUtils.h.
Referenced by ScreenSetup::customEvent(), WeatherScreen::formatDataItem(), WeatherScreen::getTemperatureUnit(), ScreenSetup::loadData(), and ScreenSetup::updateHelpText().
|
staticconstexpr |
Definition at line 18 of file weatherUtils.h.
Referenced by ScreenSetup::customEvent(), and WeatherSource::startUpdate().