ProfileItem Class Reference

#include <videodisplayprofile.h>

List of all members.

Public Member Functions

 ProfileItem ()
 ~ProfileItem ()
void Clear (void)
void SetProfileID (uint id)
void Set (const QString &value, const QString &data)
uint GetProfileID (void) const
QString Get (const QString &value) const
uint GetPriority (void) const
pref_map_t GetAll (void) const
bool IsMatch (const QSize &size, float rate) const
bool IsValid (QString *reason=NULL) const
bool operator< (const ProfileItem &other) const
QString toString (void) const

Private Attributes

uint profileid
pref_map_t pref

Detailed Description

Definition at line 34 of file videodisplayprofile.h.


Constructor & Destructor Documentation

ProfileItem::ProfileItem (  )  [inline]

Definition at line 37 of file videodisplayprofile.h.

ProfileItem::~ProfileItem (  )  [inline]

Definition at line 38 of file videodisplayprofile.h.


Member Function Documentation

void ProfileItem::Clear ( void   )  [inline]

Definition at line 40 of file videodisplayprofile.h.

Referenced by VideoDisplayProfile::LoadDB().

void ProfileItem::SetProfileID ( uint  id  )  [inline]

Definition at line 43 of file videodisplayprofile.h.

Referenced by VideoDisplayProfile::LoadDB().

void ProfileItem::Set ( const QString &  value,
const QString &  data 
) [inline]
uint ProfileItem::GetProfileID ( void   )  const [inline]

Definition at line 49 of file videodisplayprofile.h.

QString ProfileItem::Get ( const QString &  value  )  const [inline]
uint ProfileItem::GetPriority ( void   )  const [inline]

Definition at line 59 of file videodisplayprofile.h.

Referenced by operator<().

pref_map_t ProfileItem::GetAll ( void   )  const [inline]

Definition at line 65 of file videodisplayprofile.h.

bool ProfileItem::IsMatch ( const QSize &  size,
float  rate 
) const

Definition at line 12 of file videodisplayprofile.cpp.

bool ProfileItem::IsValid ( QString *  reason = NULL  )  const

Definition at line 64 of file videodisplayprofile.cpp.

Referenced by VideoDisplayProfile::LoadDB().

bool ProfileItem::operator< ( const ProfileItem other  )  const

Definition at line 169 of file videodisplayprofile.cpp.

QString ProfileItem::toString ( void   )  const

Definition at line 174 of file videodisplayprofile.cpp.


Member Data Documentation

Definition at line 76 of file videodisplayprofile.h.

Referenced by GetProfileID(), and SetProfileID().

Definition at line 77 of file videodisplayprofile.h.

Referenced by Clear(), Get(), GetAll(), and Set().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri Feb 10 06:42:16 2012 for MythTV by  doxygen 1.6.3