Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

emuWorks::GenieDialog Class Reference

#include <geniedialog.hh>

List of all members.


Detailed Description

Definition at line 35 of file geniedialog.hh.

Public Member Functions

 GenieDialog ()
 Creates a new GenieDialog.
 ~GenieDialog ()
 Destructor for a GenieDialog.

Private Slots

void on_nesRadio_toggled (bool checked)
 Called when the NES radio button is toggled.
void on_snesRadio_toggled (bool checked)
 Called when the SNES radio button is toggled.
void on_genesisRadio_toggled (bool checked)
 Called when the Genesis radio button is toggled.
void on_gbggRadio_toggled (bool checked)
 Called when the Game Boy / Game Gear radio button is toggled.
void on_valueEdit_textEdited (const QString &text)
 Called when the value box is edited.
void on_addressEdit_textEdited (const QString &text)
 Called when the address box is edited.
void on_compareEdit_textEdited (const QString &text)
 Called when the compare box is edited.
void on_gamegenieEdit_textEdited (const QString &text)
 Called when the game genie box is edited.

Private Member Functions

void reset ()
 Resets the controls.
void encode ()
 Encodes the value, address, and compare into a game genie code.
void decode ()
 Decodes the game genie code into value, address, and compare components.

Private Attributes

QRegExpValidator * hexValidator
QRegExpValidator * nesValidator
QRegExpValidator * snesValidator
QRegExpValidator * genesisValidator
QRegExpValidator * gbggValidator
Ui::MainDialog ui
int system
bool encoding
bool decoding


Constructor & Destructor Documentation

GenieDialog::GenieDialog  ) 
 

Creates a new GenieDialog.

Definition at line 43 of file geniedialog.cc.

GenieDialog::~GenieDialog  ) 
 

Destructor for a GenieDialog.

Definition at line 75 of file geniedialog.cc.


Member Function Documentation

void GenieDialog::decode  )  [private]
 

Decodes the game genie code into value, address, and compare components.

Definition at line 214 of file geniedialog.cc.

void GenieDialog::encode  )  [private]
 

Encodes the value, address, and compare into a game genie code.

Definition at line 148 of file geniedialog.cc.

void GenieDialog::on_addressEdit_textEdited const QString &  text  )  [private, slot]
 

Called when the address box is edited.

Parameters:
text The new text.

Definition at line 205 of file geniedialog.cc.

void GenieDialog::on_compareEdit_textEdited const QString &  text  )  [private, slot]
 

Called when the compare box is edited.

Parameters:
text The new text.

Definition at line 210 of file geniedialog.cc.

void GenieDialog::on_gamegenieEdit_textEdited const QString &  text  )  [private, slot]
 

Called when the game genie box is edited.

Parameters:
text The new text.

Definition at line 284 of file geniedialog.cc.

void GenieDialog::on_gbggRadio_toggled bool  checked  )  [private, slot]
 

Called when the Game Boy / Game Gear radio button is toggled.

Parameters:
checked true if it was checked; false otherwise

Definition at line 135 of file geniedialog.cc.

void GenieDialog::on_genesisRadio_toggled bool  checked  )  [private, slot]
 

Called when the Genesis radio button is toggled.

Parameters:
checked true if it was checked; false otherwise

Definition at line 122 of file geniedialog.cc.

void GenieDialog::on_nesRadio_toggled bool  checked  )  [private, slot]
 

Called when the NES radio button is toggled.

Parameters:
checked true if it was checked; false otherwise

Definition at line 96 of file geniedialog.cc.

void GenieDialog::on_snesRadio_toggled bool  checked  )  [private, slot]
 

Called when the SNES radio button is toggled.

Parameters:
checked true if it was checked; false otherwise

Definition at line 109 of file geniedialog.cc.

void GenieDialog::on_valueEdit_textEdited const QString &  text  )  [private, slot]
 

Called when the value box is edited.

Parameters:
text The new text.

Definition at line 200 of file geniedialog.cc.

void GenieDialog::reset  )  [private]
 

Resets the controls.

Definition at line 83 of file geniedialog.cc.


Member Data Documentation

bool emuWorks::GenieDialog::decoding [private]
 

Definition at line 46 of file geniedialog.hh.

bool emuWorks::GenieDialog::encoding [private]
 

Definition at line 46 of file geniedialog.hh.

QRegExpValidator* emuWorks::GenieDialog::gbggValidator [private]
 

Definition at line 43 of file geniedialog.hh.

QRegExpValidator* emuWorks::GenieDialog::genesisValidator [private]
 

Definition at line 42 of file geniedialog.hh.

QRegExpValidator* emuWorks::GenieDialog::hexValidator [private]
 

Definition at line 39 of file geniedialog.hh.

QRegExpValidator* emuWorks::GenieDialog::nesValidator [private]
 

Definition at line 40 of file geniedialog.hh.

QRegExpValidator* emuWorks::GenieDialog::snesValidator [private]
 

Definition at line 41 of file geniedialog.hh.

int emuWorks::GenieDialog::system [private]
 

Definition at line 45 of file geniedialog.hh.

Ui::MainDialog emuWorks::GenieDialog::ui [private]
 

Definition at line 44 of file geniedialog.hh.


Generated on Sat Jul 30 15:01:51 2005 for Game Genie Encoder/Decoder by  doxygen 1.4.4