Logo Search packages:      
Sourcecode: kamefu version File versions

Kamefu::RomMetaInformation Class Reference

#include <rommetainformation.h>

List of all members.


Detailed Description

This is data class used to exchange ROM Meta information between classes. This class is implicit shared.

Simple creation of a new RomMetaInformation.

 Kamefu::RomMetaInformation romMetaInfo;

Author:
Michaƫl Larouche <michael.larouche@kdemtail.net>

Definition at line 36 of file rommetainformation.h.


Public Member Functions

QString country () const
 Get the country.
QString editor () const
 Get editor/developer name In GUI, this is labeled developer, it is the company who made the game.
QString genre () const
 Get the genre.
bool isValid () const
 Is this RomMetaInformation is valid. A valid RomMetaInformation has either a MD5 hash, an URL or an editor name.
QString md5Hash () const
 Get MD5 hash.
RomMetaInformationoperator= (const RomMetaInformation &other)
 Copy-assignment operator. Mostly the same as the copy constructor.
 RomMetaInformation (const RomMetaInformation &copy)
 Copy constructor This do not create a deep copy, just make a reference.
 RomMetaInformation ()
 Construct a empty ROMMetaInformation object.
QString romName () const
 Get ROM name. This is a name defined by the user.
QString screenshotPath () const
 Get the screenshot path.
void setCountry (const QString &country)
 Set the country.
void setEditor (const QString &editor)
 Set editor/developer name In GUI, this is labeled developer, it is the company who made the game.
void setGenre (const QString &genre)
void setMd5Hash (const QString &md5Hash)
 Set MD5 hash.
void setRomName (const QString &romName)
 Set ROM name. This is a name defined by the user.
void setScreenshotPath (const QString &screenshotPath)
 Set the screenshot path.
void setSystem (const QString &system)
 Set system name. This is the system name. Came from Kamefu::SystemManager.
void setTitlescreenPath (const QString &titlescreenPath)
 Set the titlescreen path.
void setUrl (const QString &url)
 Set ROM url. This the complete path where the ROM is located on disk.
void setYear (const QString &year)
 Set the year.
QString system () const
 Get system name This is the system name. Came from Kamefu::SystemManager.
QString titlescreenPath () const
 Get the titlescreen path.
QString url () const
 Get ROM url. This the complete path where the ROM is located on disk.
QString year () const
 Get the year of making.
 ~RomMetaInformation ()

Private Attributes

KSharedPtr< Private > d

Classes

class  Private

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

Generated by  Doxygen 1.6.0   Back to index