ggencoder::GenieDialog Class Reference

#include <geniedialog.hh>

List of all members.


Detailed Description

The main dialog for the application.

Definition at line 37 of file geniedialog.hh.


Public Member Functions

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

Private Slots

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.
void on_gbggRadio_toggled (bool checked)
 Called when the Game Boy / Game Gear radio button is toggled.
void on_genesisRadio_toggled (bool checked)
 Called when the Genesis radio button is toggled.
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_valueEdit_textEdited (const QString &text)
 Called when the value box is edited.

Private Member Functions

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

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 46 of file geniedialog.cc.

GenieDialog::~GenieDialog (  ) 

Destructor for a GenieDialog.

Definition at line 78 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 86 of file geniedialog.cc.

void GenieDialog::encode (  )  [private]

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

Definition at line 156 of file geniedialog.cc.

void GenieDialog::reset (  )  [private]

Resets the controls.

Definition at line 208 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 221 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 225 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 229 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 233 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 246 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 259 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 272 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 285 of file geniedialog.cc.


Member Data Documentation

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

Definition at line 41 of file geniedialog.hh.

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

Definition at line 42 of file geniedialog.hh.

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

Definition at line 43 of file geniedialog.hh.

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

Definition at line 44 of file geniedialog.hh.

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

Definition at line 45 of file geniedialog.hh.

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

Definition at line 46 of file geniedialog.hh.

int ggencoder::GenieDialog::system [private]

Definition at line 47 of file geniedialog.hh.

bool ggencoder::GenieDialog::encoding [private]

Definition at line 48 of file geniedialog.hh.

bool ggencoder::GenieDialog::decoding [private]

Definition at line 48 of file geniedialog.hh.


Generated on Thu Dec 18 01:01:25 2008 for Game Genie Encoder/Decoder by  doxygen 1.5.4