SourceManager Class Reference

#include <sourceManager.h>

List of all members.


Detailed Description

Definition at line 15 of file sourceManager.h.


Public Member Functions

 SourceManager ()
WeatherSourceneedSourceFor (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)
ScriptInfogetSourceByName (const QString &name)

Private Slots

void timeout (void)

Private Member Functions

void recurseDirs (QDir dir)

Private Attributes

QPtrList< ScriptInfom_scripts
QPtrList< WeatherSourcem_sources
QIntDict< WeatherSourcem_sourcemap
units_t m_units

Constructor & Destructor Documentation

SourceManager::SourceManager (  ) 

Definition at line 16 of file sourceManager.cpp.


Member Function Documentation

WeatherSource * SourceManager::needSourceFor ( int  id,
const QString &  loc,
units_t  units 
)

Definition at line 193 of file sourceManager.cpp.

Referenced by setupSources().

QStringList SourceManager::getLocationList ( ScriptInfo si,
const QString &  str 
)

Definition at line 185 of file sourceManager.cpp.

Referenced by LocationDialog::doSearch().

void SourceManager::startTimers (  ) 

void SourceManager::stopTimers (  ) 

Definition at line 233 of file sourceManager.cpp.

Referenced by Weather::setupPage().

void SourceManager::doUpdate (  ) 

bool SourceManager::findPossibleSources ( QStringList  types,
QPtrList< ScriptInfo > &  sources 
)

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

void SourceManager::setupSources (  ) 

bool SourceManager::connectScreen ( uint  id,
WeatherScreen screen 
)

Definition at line 284 of file sourceManager.cpp.

Referenced by Weather::setupScreens().

bool SourceManager::disconnectScreen ( WeatherScreen screen  ) 

Definition at line 306 of file sourceManager.cpp.

ScriptInfo * SourceManager::getSourceByName ( const QString &  name  ) 

Definition at line 156 of file sourceManager.cpp.

Referenced by ScreenSetup::loadData().

void SourceManager::timeout ( void   )  [inline, private, slot]

Definition at line 36 of file sourceManager.h.

void SourceManager::recurseDirs ( QDir  dir  )  [private]

Definition at line 329 of file sourceManager.cpp.

Referenced by findScripts().


Member Data Documentation

QPtrList<ScriptInfo> SourceManager::m_scripts [private]

Definition at line 41 of file sourceManager.h.

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

Definition at line 42 of file sourceManager.h.


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5