RomInfo Class Reference

#include <rominfo.h>

List of all members.


Detailed Description

Definition at line 8 of file rominfo.h.


Public Member Functions

 RomInfo (QString lromname="", QString lsystem="", QString lgamename="", QString lgenre="", QString lyear="", bool lfavorite=FALSE, QString lrompath="", QString lcountry="", QString lcrc_value="", int ldiskcount=0, QString lgametype="", int lromcount=0, QString lallsystems="", QString lpublisher="", QString lversion="")
 RomInfo (const RomInfo &lhs)
virtual ~RomInfo ()
bool FindImage (QString BaseFileName, QString *result)
QString Rompath () const
void setRompath (const QString &lrompath)
QString Romname () const
void setRomname (const QString &lromname)
QString System ()
void setSystem (const QString &lsystem)
QString Gamename ()
void setGamename (const QString &lgamename)
QString Genre ()
void setGenre (const QString &lgenre)
QString Country ()
void setCountry (const QString &lcountry)
QString GameType ()
void setGameType (const QString &lgametype)
int RomCount ()
void setRomCount (const int &lromcount)
QString AllSystems ()
void setAllSystems (const QString &lallsystems)
int DiskCount ()
void setDiskCount (const int &ldiskcount)
QString CRC_VALUE ()
void setCRC_VALUE (const QString &lcrc_value)
QString ImagePath ()
void setImagePath (const QString &limagepath)
QString Publisher ()
void setPublisher (const QString &lpublisher)
QString Version ()
void setVersion (const QString &lversion)
QString Year ()
void setYear (const QString &lyear)
int Favorite ()
virtual void setFavorite ()
QString getExtension ()
virtual void setField (QString field, QString data)
virtual void fillData ()
virtual void edit_rominfo ()

Protected Attributes

QString romname
QString system
QString gamename
QString genre
QString imagepath
QString country
QString crc_value
QString gametype
QString allsystems
QString publisher
QString version
int romcount
int diskcount
QString year
bool favorite
QString rompath

Constructor & Destructor Documentation

RomInfo::RomInfo ( QString  lromname = "",
QString  lsystem = "",
QString  lgamename = "",
QString  lgenre = "",
QString  lyear = "",
bool  lfavorite = FALSE,
QString  lrompath = "",
QString  lcountry = "",
QString  lcrc_value = "",
int  ldiskcount = 0,
QString  lgametype = "",
int  lromcount = 0,
QString  lallsystems = "",
QString  lpublisher = "",
QString  lversion = "" 
) [inline]

Definition at line 11 of file rominfo.h.

RomInfo::RomInfo ( const RomInfo lhs  )  [inline]

Definition at line 34 of file rominfo.h.

virtual RomInfo::~RomInfo (  )  [inline, virtual]

Definition at line 53 of file rominfo.h.


Member Function Documentation

bool RomInfo::FindImage ( QString  BaseFileName,
QString *  result 
)

Definition at line 111 of file rominfo.cpp.

Referenced by fillData().

QString RomInfo::Rompath (  )  const [inline]

Definition at line 57 of file rominfo.h.

Referenced by GameHandler::Launchgame(), and GameTreeItem::showGameInfo().

void RomInfo::setRompath ( const QString &  lrompath  )  [inline]

Definition at line 58 of file rominfo.h.

Referenced by fillData().

QString RomInfo::Romname (  )  const [inline]

void RomInfo::setRomname ( const QString &  lromname  )  [inline]

Definition at line 61 of file rominfo.h.

Referenced by fillData().

QString RomInfo::System (  )  [inline]

void RomInfo::setSystem ( const QString &  lsystem  )  [inline]

Definition at line 64 of file rominfo.h.

Referenced by GameTreeItem::createChild(), and fillData().

QString RomInfo::Gamename (  )  [inline]

void RomInfo::setGamename ( const QString &  lgamename  )  [inline]

Definition at line 67 of file rominfo.h.

Referenced by GameTreeItem::createChild(), and fillData().

QString RomInfo::Genre (  )  [inline]

void RomInfo::setGenre ( const QString &  lgenre  )  [inline]

Definition at line 70 of file rominfo.h.

Referenced by GameTreeItem::createChild(), and fillData().

QString RomInfo::Country (  )  [inline]

Definition at line 72 of file rominfo.h.

Referenced by edit_rominfo(), and GameTreeItem::showGameInfo().

void RomInfo::setCountry ( const QString &  lcountry  )  [inline]

Definition at line 73 of file rominfo.h.

Referenced by fillData().

QString RomInfo::GameType (  )  [inline]

Definition at line 75 of file rominfo.h.

Referenced by edit_rominfo(), and GameTreeItem::showGameInfo().

void RomInfo::setGameType ( const QString &  lgametype  )  [inline]

Definition at line 76 of file rominfo.h.

Referenced by fillData().

int RomInfo::RomCount (  )  [inline]

Definition at line 78 of file rominfo.h.

Referenced by fillData(), and GameTree::handleTreeListSelection().

void RomInfo::setRomCount ( const int &  lromcount  )  [inline]

Definition at line 79 of file rominfo.h.

Referenced by fillData().

QString RomInfo::AllSystems (  )  [inline]

void RomInfo::setAllSystems ( const QString &  lallsystems  )  [inline]

Definition at line 82 of file rominfo.h.

int RomInfo::DiskCount (  )  [inline]

Definition at line 84 of file rominfo.h.

Referenced by GameHandler::Launchgame().

void RomInfo::setDiskCount ( const int &  ldiskcount  )  [inline]

Definition at line 85 of file rominfo.h.

Referenced by fillData().

QString RomInfo::CRC_VALUE (  )  [inline]

Definition at line 87 of file rominfo.h.

Referenced by GameTreeItem::showGameInfo().

void RomInfo::setCRC_VALUE ( const QString &  lcrc_value  )  [inline]

Definition at line 88 of file rominfo.h.

Referenced by fillData().

QString RomInfo::ImagePath (  )  [inline]

Definition at line 90 of file rominfo.h.

Referenced by GameTree::handleTreeListEntry(), and GameTree::updateRomInfo().

void RomInfo::setImagePath ( const QString &  limagepath  )  [inline]

Definition at line 91 of file rominfo.h.

Referenced by fillData().

QString RomInfo::Publisher (  )  [inline]

void RomInfo::setPublisher ( const QString &  lpublisher  )  [inline]

Definition at line 94 of file rominfo.h.

Referenced by fillData().

QString RomInfo::Version ( void   )  [inline]

Definition at line 96 of file rominfo.h.

Referenced by edit_rominfo().

void RomInfo::setVersion ( const QString &  lversion  )  [inline]

Definition at line 97 of file rominfo.h.

Referenced by fillData().

QString RomInfo::Year (  )  [inline]

void RomInfo::setYear ( const QString &  lyear  )  [inline]

Definition at line 101 of file rominfo.h.

Referenced by GameTreeItem::createChild(), and fillData().

int RomInfo::Favorite (  )  [inline]

Definition at line 103 of file rominfo.h.

Referenced by edit_rominfo(), GameTree::toggleFavorite(), and GameTree::updateRomInfo().

void RomInfo::setFavorite (  )  [virtual]

Definition at line 173 of file rominfo.cpp.

Referenced by GameTree::toggleFavorite().

QString RomInfo::getExtension (  ) 

Definition at line 191 of file rominfo.cpp.

Referenced by GameHandler::Launchgame().

void RomInfo::setField ( QString  field,
QString  data 
) [virtual]

Definition at line 142 of file rominfo.cpp.

Referenced by GameTreeItem::createChild(), and fillData().

void RomInfo::fillData (  )  [virtual]

Definition at line 204 of file rominfo.cpp.

Referenced by GameTree::handleTreeListEntry().

void RomInfo::edit_rominfo (  )  [virtual]

Definition at line 20 of file rominfo.cpp.

Referenced by GameTreeItem::edit().


Member Data Documentation

QString RomInfo::romname [protected]

Definition at line 113 of file rominfo.h.

Referenced by fillData(), RomInfo(), Romname(), setFavorite(), and setRomname().

QString RomInfo::system [protected]

Definition at line 114 of file rominfo.h.

Referenced by fillData(), RomInfo(), setField(), setSystem(), and System().

QString RomInfo::gamename [protected]

Definition at line 115 of file rominfo.h.

Referenced by fillData(), Gamename(), RomInfo(), setField(), and setGamename().

QString RomInfo::genre [protected]

Definition at line 116 of file rominfo.h.

Referenced by Genre(), RomInfo(), setField(), and setGenre().

QString RomInfo::imagepath [protected]

Definition at line 117 of file rominfo.h.

Referenced by ImagePath(), and setImagePath().

QString RomInfo::country [protected]

Definition at line 118 of file rominfo.h.

Referenced by Country(), RomInfo(), setCountry(), and setField().

QString RomInfo::crc_value [protected]

Definition at line 119 of file rominfo.h.

Referenced by CRC_VALUE(), RomInfo(), setCRC_VALUE(), and setField().

QString RomInfo::gametype [protected]

Definition at line 120 of file rominfo.h.

Referenced by fillData(), GameType(), RomInfo(), setField(), and setGameType().

QString RomInfo::allsystems [protected]

Definition at line 121 of file rominfo.h.

Referenced by AllSystems(), fillData(), RomInfo(), and setAllSystems().

QString RomInfo::publisher [protected]

Definition at line 122 of file rominfo.h.

Referenced by Publisher(), RomInfo(), setField(), and setPublisher().

QString RomInfo::version [protected]

Definition at line 123 of file rominfo.h.

Referenced by RomInfo(), setVersion(), and Version().

int RomInfo::romcount [protected]

Definition at line 124 of file rominfo.h.

Referenced by RomCount(), RomInfo(), setField(), and setRomCount().

int RomInfo::diskcount [protected]

Definition at line 125 of file rominfo.h.

Referenced by DiskCount(), RomInfo(), setDiskCount(), and setField().

QString RomInfo::year [protected]

Definition at line 126 of file rominfo.h.

Referenced by RomInfo(), setField(), setYear(), and Year().

bool RomInfo::favorite [protected]

Definition at line 127 of file rominfo.h.

Referenced by Favorite(), RomInfo(), setFavorite(), and setField().

QString RomInfo::rompath [protected]

Definition at line 128 of file rominfo.h.

Referenced by RomInfo(), Rompath(), setField(), and setRompath().


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

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