#include <sourceManager.h>
Definition at line 15 of file sourceManager.h.
Public Member Functions | |
| 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 | findPossibleSources (QStringList types, QPtrList< 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 | |
| QPtrList< ScriptInfo > | m_scripts |
| QPtrList< WeatherSource > | m_sources |
| QIntDict< WeatherSource > | m_sourcemap |
| units_t | m_units |
| SourceManager::SourceManager | ( | ) |
Definition at line 16 of file sourceManager.cpp.
| WeatherSource * SourceManager::needSourceFor | ( | int | id, | |
| const QString & | loc, | |||
| units_t | units | |||
| ) |
| QStringList SourceManager::getLocationList | ( | ScriptInfo * | si, | |
| const QString & | str | |||
| ) |
| void SourceManager::startTimers | ( | ) |
Definition at line 226 of file sourceManager.cpp.
Referenced by mythplugin_init(), runWeather(), Weather::setupPage(), Weather::setupScreens(), and WeatherCallback().
| void SourceManager::stopTimers | ( | ) |
| void SourceManager::doUpdate | ( | ) |
Definition at line 240 of file sourceManager.cpp.
Referenced by Weather::keyPressEvent(), mythplugin_init(), runWeather(), Weather::setupPage(), Weather::setupScreens(), and WeatherCallback().
| bool SourceManager::findPossibleSources | ( | QStringList | types, | |
| QPtrList< ScriptInfo > & | sources | |||
| ) |
Definition at line 256 of file sourceManager.cpp.
Referenced by ScreenSetup::doListSelect(), LocationDialog::doSearch(), and ScreenSetup::loadData().
| void SourceManager::clearSources | ( | ) |
Definition at line 122 of file sourceManager.cpp.
Referenced by Weather::setupPage(), Weather::setupScreens(), and WeatherCallback().
| bool SourceManager::findScripts | ( | ) |
Definition at line 70 of file sourceManager.cpp.
Referenced by Weather::setupPage(), Weather::setupScreens(), and WeatherCallback().
| bool SourceManager::findScriptsDB | ( | ) |
Definition at line 24 of file sourceManager.cpp.
Referenced by Weather::setupPage(), Weather::setupScreens(), SourceManager(), and WeatherCallback().
| void SourceManager::setupSources | ( | ) |
Definition at line 128 of file sourceManager.cpp.
Referenced by Weather::setupPage(), Weather::setupScreens(), SourceManager(), and WeatherCallback().
| bool SourceManager::connectScreen | ( | uint | id, | |
| WeatherScreen * | screen | |||
| ) |
| bool SourceManager::disconnectScreen | ( | WeatherScreen * | screen | ) |
Definition at line 306 of file sourceManager.cpp.
| ScriptInfo * SourceManager::getSourceByName | ( | const QString & | name | ) |
| void SourceManager::timeout | ( | void | ) | [inline, private, slot] |
Definition at line 36 of file sourceManager.h.
| void SourceManager::recurseDirs | ( | QDir | dir | ) | [private] |
QPtrList<ScriptInfo> SourceManager::m_scripts [private] |
Definition at line 39 of file sourceManager.h.
Referenced by clearSources(), findPossibleSources(), findScripts(), findScriptsDB(), getLocationList(), getSourceByName(), needSourceFor(), recurseDirs(), and SourceManager().
QPtrList<WeatherSource> SourceManager::m_sources [private] |
Definition at line 40 of file sourceManager.h.
Referenced by clearSources(), doUpdate(), needSourceFor(), SourceManager(), startTimers(), and stopTimers().
QIntDict<WeatherSource> SourceManager::m_sourcemap [private] |
Definition at line 41 of file sourceManager.h.
Referenced by connectScreen(), disconnectScreen(), and setupSources().
units_t SourceManager::m_units [private] |
Definition at line 42 of file sourceManager.h.
1.5.5