Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AI_Dialog Class Reference

#include </home/clem/local/src/opie/noncore/games/backgammon/aidialog.h>

List of all members.

Public Member Functions

 AI_Dialog (QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags f=0)
 ~AI_Dialog ()
void setAISettings (const AISettings &values)
AISettings getAISettings ()

Private Slots

void rescuehelp_pressed ()
void rescuehelp_released ()
void eliminatehelp_pressed ()
void eliminatehelp_released ()
void exposehelp_pressed ()
void exposehelp_released ()
void protecthelp_pressed ()
void protecthelp_released ()
void safehelp_pressed ()
void safehelp_released ()
void emptyhelp_pressed ()
void emptyhelp_released ()
void setDefaultValues ()

Private Member Functions

void setHelpText (const QString &type="default")

Private Attributes

QPushButton * defaultvalues
QSpinBox * rescue
QSpinBox * eliminate
QSpinBox * expose
QSpinBox * protect
QSpinBox * safe
QSpinBox * empty
QLabel * help


Constructor & Destructor Documentation

AI_Dialog::AI_Dialog QWidget *  parent = 0,
const char *  name = 0,
bool  modal = TRUE,
WFlags  f = 0
 

Definition at line 7 of file aidialog.cpp.

References defaultvalues, eliminate, eliminatehelp_pressed(), eliminatehelp_released(), empty, emptyhelp_pressed(), emptyhelp_released(), expose, exposehelp_pressed(), exposehelp_released(), help, protect, protecthelp_pressed(), protecthelp_released(), rescue, rescuehelp_pressed(), rescuehelp_released(), safe, safehelp_pressed(), safehelp_released(), setDefaultValues(), setHelpText(), QPEApplication::showDialog(), and tr.

AI_Dialog::~AI_Dialog  ) 
 

Definition at line 84 of file aidialog.cpp.


Member Function Documentation

void AI_Dialog::eliminatehelp_pressed  )  [private, slot]
 

Definition at line 98 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::eliminatehelp_released  )  [private, slot]
 

Definition at line 103 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::emptyhelp_pressed  )  [private, slot]
 

Definition at line 138 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::emptyhelp_released  )  [private, slot]
 

Definition at line 143 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::exposehelp_pressed  )  [private, slot]
 

Definition at line 108 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::exposehelp_released  )  [private, slot]
 

Definition at line 113 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

AISettings AI_Dialog::getAISettings  ) 
 

Definition at line 170 of file aidialog.cpp.

References eliminate, AISettings::eliminate, empty, AISettings::empty, expose, AISettings::expose, protect, AISettings::protect, rescue, AISettings::rescue, safe, and AISettings::safe.

Referenced by BackGammon::modify_AI().

void AI_Dialog::protecthelp_pressed  )  [private, slot]
 

Definition at line 118 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::protecthelp_released  )  [private, slot]
 

Definition at line 123 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::rescuehelp_pressed  )  [private, slot]
 

Definition at line 88 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::rescuehelp_released  )  [private, slot]
 

Definition at line 93 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::safehelp_pressed  )  [private, slot]
 

Definition at line 128 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::safehelp_released  )  [private, slot]
 

Definition at line 133 of file aidialog.cpp.

References setHelpText().

Referenced by AI_Dialog().

void AI_Dialog::setAISettings const AISettings values  ) 
 

Definition at line 160 of file aidialog.cpp.

References AISettings::eliminate, eliminate, AISettings::empty, empty, AISettings::expose, expose, AISettings::protect, protect, AISettings::rescue, rescue, AISettings::safe, and safe.

Referenced by BackGammon::modify_AI().

void AI_Dialog::setDefaultValues  )  [private, slot]
 

Definition at line 150 of file aidialog.cpp.

References eliminate, empty, expose, protect, rescue, and safe.

Referenced by AI_Dialog().

void AI_Dialog::setHelpText const QString type = "default"  )  [private]
 

Definition at line 182 of file aidialog.cpp.

References help, and tr.

Referenced by AI_Dialog(), eliminatehelp_pressed(), eliminatehelp_released(), emptyhelp_pressed(), emptyhelp_released(), exposehelp_pressed(), exposehelp_released(), protecthelp_pressed(), protecthelp_released(), rescuehelp_pressed(), rescuehelp_released(), safehelp_pressed(), and safehelp_released().


Member Data Documentation

QPushButton* AI_Dialog::defaultvalues [private]
 

Definition at line 13 of file aidialog.h.

Referenced by AI_Dialog().

QSpinBox* AI_Dialog::eliminate [private]
 

Definition at line 18 of file aidialog.h.

Referenced by AI_Dialog(), getAISettings(), setAISettings(), and setDefaultValues().

QSpinBox* AI_Dialog::empty [private]
 

Definition at line 22 of file aidialog.h.

Referenced by AI_Dialog(), getAISettings(), setAISettings(), and setDefaultValues().

QSpinBox* AI_Dialog::expose [private]
 

Definition at line 19 of file aidialog.h.

Referenced by AI_Dialog(), getAISettings(), setAISettings(), and setDefaultValues().

QLabel* AI_Dialog::help [private]
 

Definition at line 23 of file aidialog.h.

Referenced by AI_Dialog(), and setHelpText().

QSpinBox* AI_Dialog::protect [private]
 

Definition at line 20 of file aidialog.h.

Referenced by AI_Dialog(), getAISettings(), setAISettings(), and setDefaultValues().

QSpinBox* AI_Dialog::rescue [private]
 

Definition at line 17 of file aidialog.h.

Referenced by AI_Dialog(), getAISettings(), setAISettings(), and setDefaultValues().

QSpinBox* AI_Dialog::safe [private]
 

Definition at line 21 of file aidialog.h.

Referenced by AI_Dialog(), getAISettings(), setAISettings(), and setDefaultValues().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:14 2005 for OPIE by  doxygen 1.4.2