MythTV  master
Classes | Macros | Typedefs | Functions
weatherUtils.h File Reference
#include <QMap>
#include <QMultiHash>
#include <QString>
#include <QDomElement>
#include <QFile>
#include <QMetaType>
#include <mythcontext.h>
Include dependency graph for weatherUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  TypeListInfo
class  ScreenListInfo


#define SI_UNITS   0
#define ENG_UNITS   1
#define DEFAULT_UPDATE_TIMEOUT   (5*60*1000)


typedef unsigned char units_t
typedef QMap< QString, QString > DataMap
typedef QMultiHash< QString, TypeListInfoTypeListMap
typedef QMap< QString, ScreenListInfoScreenListMap


 Q_DECLARE_METATYPE (ScreenListInfo *)
ScreenListMap loadScreens ()
QStringList loadScreen (const QDomElement &ScreenListInfo)
bool doLoadScreens (const QString &filename, ScreenListMap &screens)

Macro Definition Documentation


#define SI_UNITS   0

Definition at line 15 of file weatherUtils.h.


#define ENG_UNITS   1

Definition at line 16 of file weatherUtils.h.


#define DEFAULT_UPDATE_TIMEOUT   (5*60*1000)

Definition at line 17 of file weatherUtils.h.



Definition at line 18 of file weatherUtils.h.

Typedef Documentation

◆ units_t

typedef unsigned char units_t

Definition at line 20 of file weatherUtils.h.

◆ DataMap

typedef QMap<QString, QString> DataMap

Definition at line 23 of file weatherUtils.h.

◆ TypeListMap

typedef QMultiHash<QString, TypeListInfo> TypeListMap

Definition at line 44 of file weatherUtils.h.

◆ ScreenListMap

typedef QMap<QString, ScreenListInfo> ScreenListMap

Definition at line 79 of file weatherUtils.h.

Function Documentation



◆ loadScreens()

ScreenListMap loadScreens ( )

Definition at line 40 of file weatherUtils.cpp.

Referenced by ScreenSetup::loadData(), and Weather::Weather().

◆ loadScreen()

QStringList loadScreen ( const QDomElement &  ScreenListInfo)

Definition at line 116 of file weatherUtils.cpp.

Referenced by doLoadScreens().

◆ doLoadScreens()

bool doLoadScreens ( const QString &  filename,
ScreenListMap screens 

Definition at line 73 of file weatherUtils.cpp.

Referenced by loadScreens().