Weather Class Reference

#include <weather.h>

Inheritance diagram for Weather:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Slots

void setupScreens ()

Public Member Functions

 Weather (MythScreenStack *parent, const QString &name, SourceManager *srcMan)
 ~Weather ()
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.
bool UpdateData ()
bool SetupScreens ()

Private Slots

void update_timeout ()
void nextpage_timeout ()
void weatherTimeout ()
void cursorLeft ()
void cursorRight ()
void holdPage ()
void setupPage ()
void screenReady (WeatherScreen *ws)

Private Member Functions

WeatherScreennextScreen ()
WeatherScreenprevScreen ()
void clearScreens ()
void showScreen (WeatherScreen *ws)
void hideScreen (void)

Private Attributes

MythScreenStackm_weatherStack
int m_timeoutCounter
int m_wantAnimated
bool m_stopProcessing
units_t m_units
bool m_firstRun
int m_updateInterval
int m_nextpageInterval
int m_nextpageIntArrow
QTimer * m_nextpage_Timer
bool m_gotDataHook
bool m_firstSetup
bool m_createdSrcMan
SourceManagerm_srcMan
ScreenList m_screens
int m_cur_screen
ScreenListMap m_allScreens
WeatherScreenm_currScreen
bool m_paused
MythUITextm_pauseText
MythUITextm_headerText
MythUITextm_updatedText

Detailed Description

Definition at line 20 of file weather.h.


Constructor & Destructor Documentation

Weather::Weather ( MythScreenStack parent,
const QString &  name,
SourceManager srcMan 
)

Definition at line 22 of file weather.cpp.

Weather::~Weather (  ) 

Definition at line 59 of file weather.cpp.


Member Function Documentation

bool Weather::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 70 of file weather.cpp.

Referenced by RunWeather().

bool Weather::keyPressEvent ( QKeyEvent *   )  [virtual]

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 256 of file weather.cpp.

bool Weather::UpdateData (  ) 
bool Weather::SetupScreens (  ) 

Definition at line 125 of file weather.cpp.

Referenced by RunWeather(), and setupScreens().

void Weather::setupScreens (  )  [slot]

Definition at line 120 of file weather.cpp.

Referenced by setupPage(), and SetupScreens().

void Weather::update_timeout (  )  [inline, private, slot]

Definition at line 38 of file weather.h.

void Weather::nextpage_timeout (  )  [private, slot]

Definition at line 386 of file weather.cpp.

Referenced by Weather().

void Weather::weatherTimeout (  )  [inline, private, slot]

Definition at line 40 of file weather.h.

void Weather::cursorLeft (  )  [private, slot]

Definition at line 374 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::cursorRight (  )  [private, slot]

Definition at line 362 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::holdPage (  )  [private, slot]

Definition at line 317 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::setupPage (  )  [private, slot]

Definition at line 335 of file weather.cpp.

Referenced by keyPressEvent().

void Weather::screenReady ( WeatherScreen ws  )  [private, slot]

Definition at line 225 of file weather.cpp.

Referenced by SetupScreens().

WeatherScreen * Weather::nextScreen ( void   )  [private]

Definition at line 237 of file weather.cpp.

Referenced by cursorRight(), and nextpage_timeout().

WeatherScreen * Weather::prevScreen ( void   )  [private]

Definition at line 246 of file weather.cpp.

Referenced by cursorLeft().

void Weather::clearScreens (  )  [private]

Definition at line 105 of file weather.cpp.

Referenced by setupPage(), SetupScreens(), and ~Weather().

void Weather::showScreen ( WeatherScreen ws  )  [private]

Definition at line 298 of file weather.cpp.

Referenced by cursorLeft(), cursorRight(), nextpage_timeout(), and screenReady().

void Weather::hideScreen ( void   )  [private]

Definition at line 309 of file weather.cpp.

Referenced by cursorLeft(), cursorRight(), keyPressEvent(), and nextpage_timeout().


Member Data Documentation

Definition at line 54 of file weather.h.

Referenced by clearScreens(), hideScreen(), SetupScreens(), showScreen(), Weather(), and ~Weather().

Definition at line 55 of file weather.h.

int Weather::m_wantAnimated [private]

Definition at line 56 of file weather.h.

Definition at line 57 of file weather.h.

Definition at line 59 of file weather.h.

Definition at line 60 of file weather.h.

Referenced by screenReady(), setupPage(), and Weather().

Definition at line 61 of file weather.h.

Definition at line 62 of file weather.h.

Referenced by cursorLeft(), cursorRight(), holdPage(), nextpage_timeout(), screenReady(), and Weather().

Definition at line 63 of file weather.h.

QTimer* Weather::m_nextpage_Timer [private]

Definition at line 66 of file weather.h.

Definition at line 68 of file weather.h.

Referenced by SetupScreens(), and Weather().

Definition at line 70 of file weather.h.

Referenced by Weather(), and ~Weather().

Definition at line 71 of file weather.h.

Referenced by keyPressEvent(), setupPage(), SetupScreens(), Weather(), and ~Weather().

Definition at line 72 of file weather.h.

Referenced by clearScreens(), nextScreen(), prevScreen(), screenReady(), and SetupScreens().

int Weather::m_cur_screen [private]

Definition at line 73 of file weather.h.

Referenced by clearScreens(), nextScreen(), prevScreen(), and screenReady().

Definition at line 75 of file weather.h.

Referenced by SetupScreens(), and Weather().

Definition at line 76 of file weather.h.

Referenced by clearScreens(), hideScreen(), and showScreen().

Definition at line 77 of file weather.h.

Referenced by cursorLeft(), cursorRight(), holdPage(), SetupScreens(), and Weather().

Definition at line 79 of file weather.h.

Referenced by Create(), holdPage(), SetupScreens(), and Weather().

Definition at line 80 of file weather.h.

Referenced by Create(), showScreen(), and Weather().

Definition at line 81 of file weather.h.

Referenced by Create(), SetupScreens(), showScreen(), and Weather().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon Feb 6 06:42:27 2012 for MythTV by  doxygen 1.6.3