|
MythTV
0.26-pre
|
#include <themeinfo.h>
Public Member Functions | |
| ThemeInfo (QString theme) | |
| ~ThemeInfo () | |
| bool | IsWide () const |
| QString | GetAspect () const |
| const QSize * | GetBaseRes () const |
| QString | GetName () const |
| QString | GetDescription () const |
| QString | GetErrata () const |
| QString | GetPreviewPath () const |
| int | GetType () const |
| int | GetMajorVersion () const |
| int | GetMinorVersion () const |
| QString | GetDownloadURL () const |
| QString | GetThemeWebSite () const |
| QString | GetLocalURL () const |
| QString | GetDirectoryName () const |
| void | ToMap (QHash< QString, QString > &infoMap) const |
Private Member Functions | |
| bool | parseThemeInfo () |
Private Attributes | |
| QString | m_themeurl |
| QFileInfo | m_theme |
| int | m_type |
| QString | m_aspect |
| QSize | m_baseres |
| QString | m_name |
| QString | m_previewpath |
| QString | m_description |
| QString | m_errata |
| int | m_majorver |
| int | m_minorver |
| QString | m_authorName |
| QString | m_authorEmail |
| QString | m_downloadurl |
| QString | m_themesite |
Definition at line 21 of file themeinfo.h.
| ThemeInfo::ThemeInfo | ( | QString | theme | ) |
Definition at line 17 of file themeinfo.cpp.
Definition at line 38 of file themeinfo.cpp.
| bool ThemeInfo::IsWide | ( | ) | const |
Definition at line 236 of file themeinfo.cpp.
Referenced by MythUIHelper::LoadQtConfig().
| QString ThemeInfo::GetAspect | ( | ) | const [inline] |
Definition at line 28 of file themeinfo.h.
Referenced by ThemeChooser::Init(), and ThemeChooser::itemChanged().
| const QSize* ThemeInfo::GetBaseRes | ( | ) | const [inline] |
Definition at line 29 of file themeinfo.h.
Referenced by MythUIHelper::LoadQtConfig().
| QString ThemeInfo::GetName | ( | void | ) | const [inline] |
Definition at line 30 of file themeinfo.h.
Referenced by ThemeChooser::customEvent(), ThemeChooser::Init(), ThemeChooser::itemChanged(), ThemeChooser::Load(), MythUIHelper::LoadQtConfig(), ThemeChooser::loadThemeInfo(), ThemeChooser::removeTheme(), ThemeChooser::saveAndReload(), and ThemeChooser::toggleFullscreenPreview().
| QString ThemeInfo::GetDescription | ( | void | ) | const [inline] |
Definition at line 31 of file themeinfo.h.
| QString ThemeInfo::GetErrata | ( | ) | const [inline] |
Definition at line 32 of file themeinfo.h.
| QString ThemeInfo::GetPreviewPath | ( | ) | const [inline] |
Definition at line 33 of file themeinfo.h.
Referenced by ThemeChooser::Init(), ThemeChooser::itemChanged(), ThemeChooser::Load(), ThemeChooser::removeTheme(), ThemeChooser::showPopupMenu(), and ThemeChooser::toggleFullscreenPreview().
| int ThemeInfo::GetType | ( | void | ) | const [inline] |
Definition at line 34 of file themeinfo.h.
Referenced by ThemeChooser::loadThemeInfo().
| int ThemeInfo::GetMajorVersion | ( | ) | const [inline] |
Definition at line 35 of file themeinfo.h.
Referenced by ThemeUpdateChecker::checkForUpdate(), and ThemeChooser::Init().
| int ThemeInfo::GetMinorVersion | ( | ) | const [inline] |
Definition at line 36 of file themeinfo.h.
Referenced by ThemeUpdateChecker::checkForUpdate(), and ThemeChooser::Init().
| QString ThemeInfo::GetDownloadURL | ( | ) | const [inline] |
Definition at line 38 of file themeinfo.h.
Referenced by ThemeChooser::Init(), ThemeChooser::itemChanged(), and ThemeChooser::saveAndReload().
| QString ThemeInfo::GetThemeWebSite | ( | ) | const [inline] |
Definition at line 39 of file themeinfo.h.
| QString ThemeInfo::GetLocalURL | ( | ) | const [inline] |
Definition at line 41 of file themeinfo.h.
| QString ThemeInfo::GetDirectoryName | ( | ) | const [inline] |
Definition at line 42 of file themeinfo.h.
Referenced by ThemeChooser::customEvent(), ThemeChooser::Init(), ThemeChooser::removeTheme(), and ThemeChooser::saveAndReload().
| void ThemeInfo::ToMap | ( | QHash< QString, QString > & | infoMap | ) | const |
Definition at line 244 of file themeinfo.cpp.
Referenced by ThemeChooser::Init(), and ThemeChooser::itemChanged().
| bool ThemeInfo::parseThemeInfo | ( | ) | [private] |
Definition at line 42 of file themeinfo.cpp.
Referenced by ThemeInfo().
QString ThemeInfo::m_themeurl [private] |
Definition at line 49 of file themeinfo.h.
Referenced by parseThemeInfo(), and ThemeInfo().
QFileInfo ThemeInfo::m_theme [private] |
Definition at line 50 of file themeinfo.h.
Referenced by parseThemeInfo(), and ThemeInfo().
int ThemeInfo::m_type [private] |
Definition at line 51 of file themeinfo.h.
Referenced by parseThemeInfo(), and ThemeInfo().
QString ThemeInfo::m_aspect [private] |
Definition at line 52 of file themeinfo.h.
Referenced by IsWide(), parseThemeInfo(), and ToMap().
QSize ThemeInfo::m_baseres [private] |
Definition at line 53 of file themeinfo.h.
Referenced by parseThemeInfo(), ThemeInfo(), and ToMap().
QString ThemeInfo::m_name [private] |
Definition at line 54 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
QString ThemeInfo::m_previewpath [private] |
Definition at line 55 of file themeinfo.h.
Referenced by parseThemeInfo().
QString ThemeInfo::m_description [private] |
Definition at line 56 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
QString ThemeInfo::m_errata [private] |
Definition at line 57 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
int ThemeInfo::m_majorver [private] |
Definition at line 58 of file themeinfo.h.
Referenced by parseThemeInfo(), ThemeInfo(), and ToMap().
int ThemeInfo::m_minorver [private] |
Definition at line 59 of file themeinfo.h.
Referenced by parseThemeInfo(), ThemeInfo(), and ToMap().
QString ThemeInfo::m_authorName [private] |
Definition at line 61 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
QString ThemeInfo::m_authorEmail [private] |
Definition at line 62 of file themeinfo.h.
Referenced by parseThemeInfo(), and ToMap().
QString ThemeInfo::m_downloadurl [private] |
Definition at line 64 of file themeinfo.h.
Referenced by parseThemeInfo().
QString ThemeInfo::m_themesite [private] |
Definition at line 65 of file themeinfo.h.
1.7.6.1