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

ThemeDialog Class Reference

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

List of all members.

Public Member Functions

 ThemeDialog (QWidget *parent=0, const char *name=0, bool modal=TRUE, WFlags f=0)
 ~ThemeDialog ()
ImageNames getNames ()
void setCurrent (const ImageNames &current)

Private Member Functions

void fillBox (QString dirname, QComboBox *thebox)

Private Attributes

QLineEdit * lineName
QComboBox * boxboard
QComboBox * boxpiecesA
QComboBox * boxpiecesB
QComboBox * boxdiceA
QComboBox * boxdiceB
QComboBox * boxodds
QComboBox * boxtable


Constructor & Destructor Documentation

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

Definition at line 8 of file themedialog.cpp.

References boxboard, boxdiceA, boxdiceB, boxodds, boxpiecesA, boxpiecesB, boxtable, fillBox(), lineName, and QPEApplication::showDialog().

ThemeDialog::~ThemeDialog  ) 
 

Definition at line 63 of file themedialog.cpp.


Member Function Documentation

void ThemeDialog::fillBox QString  dirname,
QComboBox *  thebox
[private]
 

Definition at line 143 of file themedialog.cpp.

References QPtrListIterator< type >::current(), QDir::Dirs, QDir::entryInfoList(), QFileInfo::fileName(), QDir::Files, QString::find(), QString::left(), QPEApplication::qpeDir(), QString::right(), and QDir::setFilter().

Referenced by ThemeDialog().

ImageNames ThemeDialog::getNames  ) 
 

Definition at line 67 of file themedialog.cpp.

References ImageNames::board, boxboard, boxdiceA, boxdiceB, boxodds, boxpiecesA, boxpiecesB, boxtable, ImageNames::dice1, ImageNames::dice2, lineName, ImageNames::odds, ImageNames::pieces1, ImageNames::pieces2, ImageNames::table, and ImageNames::theme.

Referenced by BackGammon::newtheme().

void ThemeDialog::setCurrent const ImageNames current  ) 
 

Definition at line 81 of file themedialog.cpp.

References ImageNames::board, boxboard, boxdiceA, boxdiceB, boxodds, boxpiecesA, boxpiecesB, boxtable, ImageNames::dice1, ImageNames::dice2, lineName, ImageNames::odds, ImageNames::pieces1, ImageNames::pieces2, ImageNames::table, and ImageNames::theme.

Referenced by BackGammon::newtheme().


Member Data Documentation

QComboBox* ThemeDialog::boxboard [private]
 

Definition at line 25 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QComboBox* ThemeDialog::boxdiceA [private]
 

Definition at line 28 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QComboBox* ThemeDialog::boxdiceB [private]
 

Definition at line 29 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QComboBox* ThemeDialog::boxodds [private]
 

Definition at line 30 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QComboBox* ThemeDialog::boxpiecesA [private]
 

Definition at line 26 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QComboBox* ThemeDialog::boxpiecesB [private]
 

Definition at line 27 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QComboBox* ThemeDialog::boxtable [private]
 

Definition at line 31 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().

QLineEdit* ThemeDialog::lineName [private]
 

Definition at line 22 of file themedialog.h.

Referenced by getNames(), setCurrent(), and ThemeDialog().


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