Crossfire Server, Branch 1.12  R12190
Static Public Member Functions
CREUtils Class Reference

#include <CREUtils.h>

Static Public Member Functions

static QTreeWidgetItem * animationNode (QTreeWidgetItem *parent)
static QTreeWidgetItem * animationNode (const Animations *anim, QTreeWidgetItem *parent)
static QTreeWidgetItem * archetypeNode (QTreeWidgetItem *parent)
static QTreeWidgetItem * archetypeNode (const archt *arch, QTreeWidgetItem *parent)
static QTreeWidgetItem * artifactNode (QTreeWidgetItem *parent)
static QTreeWidgetItem * artifactNode (const artifact *arti, QTreeWidgetItem *parent)
static QTreeWidgetItem * faceNode (QTreeWidgetItem *parent)
static QTreeWidgetItem * faceNode (const New_Face *face, QTreeWidgetItem *parent)
static QTreeWidgetItem * formulaeNode (const recipe *recipe, QTreeWidgetItem *parent)
static QTreeWidgetItem * treasureNode (QTreeWidgetItem *parent)
static QTreeWidgetItem * treasureNode (const treasurelist *list, QTreeWidgetItem *parent)
static QTreeWidgetItem * treasureNode (const treasure *treasure, QTreeWidgetItem *parent)

Detailed Description

Definition at line 12 of file CREUtils.h.


Member Function Documentation

QTreeWidgetItem * CREUtils::animationNode ( QTreeWidgetItem *  parent) [static]

Definition at line 142 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillAnimations(), and CREFacePanel::setFace().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::animationNode ( const Animations anim,
QTreeWidgetItem *  parent 
) [static]

Definition at line 147 of file CREUtils.cpp.

References animations_struct::faces, CREPixmap::getIcon(), llevDebug, LOG(), animations_struct::name, and animations_struct::num_animations.

Here is the call graph for this function:

QTreeWidgetItem * CREUtils::archetypeNode ( QTreeWidgetItem *  parent) [static]
QTreeWidgetItem * CREUtils::archetypeNode ( const archt *  arch,
QTreeWidgetItem *  parent 
) [static]

Definition at line 17 of file CREUtils.cpp.

References CREPixmap::getIcon().

Here is the call graph for this function:

QTreeWidgetItem * CREUtils::artifactNode ( QTreeWidgetItem *  parent) [static]

Definition at line 25 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillArtifacts(), CREAnimationPanel::setAnimation(), and CREFacePanel::setFace().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::artifactNode ( const artifact arti,
QTreeWidgetItem *  parent 
) [static]

Definition at line 31 of file CREUtils.cpp.

References artifactstruct::allowed, blank_face, find_archetype(), get_archetype_by_type_subtype(), CREPixmap::getIcon(), artifactstruct::item, and linked_char::next.

Here is the call graph for this function:

QTreeWidgetItem * CREUtils::faceNode ( QTreeWidgetItem *  parent) [static]

Definition at line 129 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillFaces().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::faceNode ( const New_Face face,
QTreeWidgetItem *  parent 
) [static]

Definition at line 135 of file CREUtils.cpp.

References CREPixmap::getIcon(), new_face_struct::name, and new_face_struct::number.

Here is the call graph for this function:

QTreeWidgetItem * CREUtils::formulaeNode ( const recipe recipe,
QTreeWidgetItem *  parent 
) [static]

Definition at line 101 of file CREUtils.cpp.

References recipestruct::arch_name, recipestruct::arch_names, find_archetype(), CREPixmap::getIcon(), and recipestruct::title.

Referenced by CREResourcesWindow::fillFormulae().

Here is the call graph for this function:

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::treasureNode ( QTreeWidgetItem *  parent) [static]

Definition at line 64 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillTreasures(), CRETreasurePanel::setTreasure(), and treasureNode().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::treasureNode ( const treasurelist list,
QTreeWidgetItem *  parent 
) [static]

Definition at line 70 of file CREUtils.cpp.

References CREPixmap::getTreasureIcon(), CREPixmap::getTreasureOneIcon(), treasureliststruct::name, and treasureliststruct::total_chance.

Here is the call graph for this function:

QTreeWidgetItem * CREUtils::treasureNode ( const treasure treasure,
QTreeWidgetItem *  parent 
) [static]

Definition at line 80 of file CREUtils.cpp.

References archetypeNode(), find_treasurelist(), treasurestruct::item, treasurestruct::name, and treasureNode().

Here is the call graph for this function:


The documentation for this class was generated from the following files: