KCardDialogPrivate Class Reference

Local information of the dialog. More...

Collaboration diagram for KCardDialogPrivate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KCardDialogPrivate ()
bool filterOutCard (const KCardInfo &v)
 KCardDialogPrivate ()
 Constructor.
bool filterOutCard (const KCardThemeInfo &v)
 Filter a fiven card front/back depending on its scalable or non-scalable properties.

Public Attributes

Ui::KGameCardSelectorBase ui
 The UI elements.
bool useSVGOnly
 Should scalable cards are shown.
bool usePNGOnly
 Should non scalable cards are shown.
bool useLocking
 Is the back side locked to the front side.
QString currentDeck
QString currentCard
QString currentBack
 Currently chosen back side name.
QString currentFront
 Currently chosen front side name.
bool allowSVG
 Are scalable cards allowed.
bool allowPNG
 Are non scalable cards allowed.


Detailed Description

Local information of the dialog.

Definition at line 68 of file 1.cpp.


Constructor & Destructor Documentation

KCardDialogPrivate::KCardDialogPrivate (  )  [inline]

Definition at line 72 of file 1.cpp.

References useLocking, usePNGOnly, and useSVGOnly.

KCardDialogPrivate::KCardDialogPrivate (  )  [inline]

Constructor.

Definition at line 54 of file kcarddialog.cpp.

References useLocking, usePNGOnly, and useSVGOnly.


Member Function Documentation

bool KCardDialogPrivate::filterOutCard ( const KCardInfo v  )  [inline]

Definition at line 80 of file 1.cpp.

References KCardInfo::svgfile, usePNGOnly, and useSVGOnly.

Referenced by KCardDialog::insertCardIcons().

bool KCardDialogPrivate::filterOutCard ( const KCardThemeInfo v  )  [inline]

Filter a fiven card front/back depending on its scalable or non-scalable properties.

Parameters:
v The card info structure.
Returns:
True if the card should bve discarded.

Definition at line 67 of file kcarddialog.cpp.

References KCardThemeInfo::svgfile, usePNGOnly, and useSVGOnly.


Member Data Documentation

Ui::KGameCardSelectorBase KCardDialogPrivate::ui

The UI elements.

Definition at line 87 of file 1.cpp.

Referenced by KCardDialog::getCardDeck(), KCardDialog::insertCardIcons(), KCardDialog::setupGUI(), KCardDialog::updateBack(), and KCardDialog::updateFront().

bool KCardDialogPrivate::useSVGOnly

Should scalable cards are shown.

Definition at line 88 of file 1.cpp.

Referenced by filterOutCard(), KCardDialog::getCardDeck(), KCardDialog::insertCardIcons(), KCardDialog::KCardDialog(), KCardDialogPrivate(), KCardDialog::saveSettings(), KCardDialog::setupGUI(), and KCardDialog::updateFront().

bool KCardDialogPrivate::usePNGOnly

Should non scalable cards are shown.

Definition at line 89 of file 1.cpp.

Referenced by filterOutCard(), KCardDialog::getCardDeck(), KCardDialog::insertCardIcons(), KCardDialog::KCardDialog(), KCardDialogPrivate(), KCardDialog::saveSettings(), KCardDialog::setupGUI(), and KCardDialog::updateFront().

bool KCardDialogPrivate::useLocking

Is the back side locked to the front side.

Definition at line 90 of file 1.cpp.

Referenced by KCardDialog::getCardDeck(), KCardDialog::KCardDialog(), KCardDialogPrivate(), KCardDialog::saveSettings(), KCardDialog::setupGUI(), and KCardDialog::updateFront().

QString KCardDialogPrivate::currentDeck

Definition at line 91 of file 1.cpp.

Referenced by KCardDialog::getCardDeck().

QString KCardDialogPrivate::currentCard

Definition at line 92 of file 1.cpp.

Referenced by KCardDialog::getCardDeck(), KCardDialog::insertCardIcons(), and KCardDialog::updateFront().

QString KCardDialogPrivate::currentBack

Currently chosen back side name.

Definition at line 76 of file kcarddialog.cpp.

Referenced by KCardDialog::backName(), KCardDialog::KCardDialog(), KCardDialog::saveSettings(), and KCardDialog::setupGUI().

QString KCardDialogPrivate::currentFront

Currently chosen front side name.

Definition at line 80 of file kcarddialog.cpp.

Referenced by KCardDialog::frontName(), KCardDialog::KCardDialog(), KCardDialog::saveSettings(), and KCardDialog::setupGUI().

bool KCardDialogPrivate::allowSVG

Are scalable cards allowed.

Definition at line 96 of file kcarddialog.cpp.

Referenced by KCardDialog::KCardDialog(), KCardDialog::saveSettings(), and KCardDialog::setupGUI().

bool KCardDialogPrivate::allowPNG

Are non scalable cards allowed.

Definition at line 100 of file kcarddialog.cpp.

Referenced by KCardDialog::KCardDialog(), KCardDialog::saveSettings(), and KCardDialog::setupGUI().


The documentation for this class was generated from the following files:
Generated on Sun Mar 16 08:03:07 2008 for Libkdegames by  doxygen 1.5.3