|
MythTV
0.26-pre
|
#include <sourceManager.h>
Public Member Functions | |
| SourceManager () | |
| ~SourceManager () | |
| WeatherSource * | needSourceFor (int id, const QString &loc, units_t units) |
| QStringList | getLocationList (ScriptInfo *si, const QString &str) |
| void | startTimers () |
| void | stopTimers () |
| void | doUpdate (bool forceUpdate=false) |
| bool | findPossibleSources (QStringList types, QList< ScriptInfo * > &sources) |
| void | clearSources () |
| bool | findScripts () |
| bool | findScriptsDB () |
| void | setupSources () |
| bool | connectScreen (uint id, WeatherScreen *screen) |
| bool | disconnectScreen (WeatherScreen *screen) |
| ScriptInfo * | getSourceByName (const QString &name) |
Private Slots | |
| void | timeout (void) |
Private Member Functions | |
| void | recurseDirs (QDir dir) |
Private Attributes | |
| QList< ScriptInfo * > | m_scripts |
| QList< WeatherSource * > | m_sources |
| SourceMap | m_sourcemap |
| units_t | m_units |
Definition at line 18 of file sourceManager.h.
Definition at line 24 of file sourceManager.cpp.
Definition at line 30 of file sourceManager.cpp.
| WeatherSource * SourceManager::needSourceFor | ( | int | id, |
| const QString & | loc, | ||
| units_t | units | ||
| ) |
Definition at line 229 of file sourceManager.cpp.
Referenced by setupSources().
| QStringList SourceManager::getLocationList | ( | ScriptInfo * | si, |
| const QString & | str | ||
| ) |
Definition at line 216 of file sourceManager.cpp.
Referenced by LocationDialog::doSearch().
Definition at line 265 of file sourceManager.cpp.
Referenced by mythplugin_init(), Weather::SetupScreens(), and Weather::Weather().
Definition at line 275 of file sourceManager.cpp.
Referenced by Weather::setupPage().
| void SourceManager::doUpdate | ( | bool | forceUpdate = false | ) |
Definition at line 285 of file sourceManager.cpp.
Referenced by Weather::keyPressEvent(), mythplugin_init(), Weather::SetupScreens(), and Weather::Weather().
| bool SourceManager::findPossibleSources | ( | QStringList | types, |
| QList< ScriptInfo * > & | sources | ||
| ) |
Definition at line 296 of file sourceManager.cpp.
Referenced by ScreenSetup::doListSelect(), LocationDialog::doSearch(), and ScreenSetup::loadData().
Definition at line 154 of file sourceManager.cpp.
Referenced by ScreenSetup::ScreenSetup(), Weather::setupPage(), Weather::SetupScreens(), ScreenSetup::~ScreenSetup(), and ~SourceManager().
Definition at line 81 of file sourceManager.cpp.
Referenced by ScreenSetup::ScreenSetup(), and Weather::setupPage().
Definition at line 35 of file sourceManager.cpp.
Referenced by Weather::SetupScreens(), SourceManager(), and ScreenSetup::~ScreenSetup().
Definition at line 165 of file sourceManager.cpp.
Referenced by Weather::SetupScreens(), SourceManager(), and ScreenSetup::~ScreenSetup().
| bool SourceManager::connectScreen | ( | uint | id, |
| WeatherScreen * | screen | ||
| ) |
Definition at line 321 of file sourceManager.cpp.
Referenced by Weather::SetupScreens().
| bool SourceManager::disconnectScreen | ( | WeatherScreen * | screen | ) |
Definition at line 346 of file sourceManager.cpp.
| ScriptInfo * SourceManager::getSourceByName | ( | const QString & | name | ) |
Definition at line 196 of file sourceManager.cpp.
Referenced by ScreenSetup::loadData().
| void SourceManager::timeout | ( | void | ) | [inline, private, slot] |
Definition at line 40 of file sourceManager.h.
| void SourceManager::recurseDirs | ( | QDir | dir | ) | [private] |
Definition at line 373 of file sourceManager.cpp.
Referenced by findScripts().
QList<ScriptInfo *> SourceManager::m_scripts [private] |
Definition at line 43 of file sourceManager.h.
Referenced by clearSources(), findPossibleSources(), findScripts(), findScriptsDB(), getLocationList(), getSourceByName(), needSourceFor(), and recurseDirs().
QList<WeatherSource *> SourceManager::m_sources [private] |
Definition at line 44 of file sourceManager.h.
Referenced by clearSources(), doUpdate(), needSourceFor(), startTimers(), and stopTimers().
SourceMap SourceManager::m_sourcemap [private] |
Definition at line 45 of file sourceManager.h.
Referenced by connectScreen(), disconnectScreen(), and setupSources().
units_t SourceManager::m_units [private] |
Definition at line 46 of file sourceManager.h.
1.7.6.1