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

#include <themeinfo.h>

Inheritance diagram for ThemeInfo:
XMLParseBase

List of all members.

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

Detailed Description

Definition at line 21 of file themeinfo.h.


Constructor & Destructor Documentation

ThemeInfo::ThemeInfo ( QString  theme)

Definition at line 17 of file themeinfo.cpp.

Definition at line 38 of file themeinfo.cpp.


Member Function Documentation

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]
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]
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]
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]
void ThemeInfo::ToMap ( QHash< QString, QString > &  infoMap) const

Definition at line 244 of file themeinfo.cpp.

Referenced by ThemeChooser::Init(), and ThemeChooser::itemChanged().

Definition at line 42 of file themeinfo.cpp.

Referenced by ThemeInfo().


Member Data Documentation

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

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

Definition at line 58 of file themeinfo.h.

Referenced by parseThemeInfo(), ThemeInfo(), and ToMap().

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.


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