MythTV  0.26-pre
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
SourceManager Class Reference

#include <sourceManager.h>

List of all members.

Public Member Functions

 SourceManager ()
 ~SourceManager ()
WeatherSourceneedSourceFor (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)
ScriptInfogetSourceByName (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

Detailed Description

Definition at line 18 of file sourceManager.h.


Constructor & Destructor Documentation

Definition at line 24 of file sourceManager.cpp.

Definition at line 30 of file sourceManager.cpp.


Member Function Documentation

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)
bool SourceManager::findPossibleSources ( QStringList  types,
QList< ScriptInfo * > &  sources 
)

Definition at line 81 of file sourceManager.cpp.

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

Definition at line 321 of file sourceManager.cpp.

Referenced by Weather::SetupScreens().

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().


Member Data Documentation

Definition at line 44 of file sourceManager.h.

Referenced by clearSources(), doUpdate(), needSourceFor(), startTimers(), and stopTimers().

Definition at line 45 of file sourceManager.h.

Referenced by connectScreen(), disconnectScreen(), and setupSources().

Definition at line 46 of file sourceManager.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends