Crossfire Server, Trunk  R20513
Static Public Member Functions
CREUtils Class Reference

#include <CREUtils.h>

Collaboration diagram for CREUtils:
Collaboration graph

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 * mapNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * mapNode (const CREMapInformation *map, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * messageNode (const MessageFile *message, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * messagesNode ()
 
static QTreeWidgetItem * objectNode (const object *op, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * questNode (const Quest *quest, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * questsNode ()
 
static QTreeWidgetItem * regionNode (const QString &name, int count, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * scriptNode (const ScriptFile *script, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * scriptsNode ()
 
static QTreeWidgetItem * treasureNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * treasureNode (const treasurelist *list, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * treasureNode (const treasure *treasure, const treasurelist *list, QTreeWidgetItem *parent)
 

Detailed Description

Definition at line 17 of file CREUtils.h.

Member Function Documentation

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

Definition at line 182 of file CREUtils.cpp.

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

Here is the caller graph for this function:

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

Definition at line 187 of file CREUtils.cpp.

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

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 21 of file CREUtils.cpp.

References archt::clone, obj::face, CREPixmap::getIcon(), archt::name, and new_face_struct::number.

Here is the call graph for this function:

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

Definition at line 42 of file CREUtils.cpp.

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

Here is the caller graph for this function:

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

Definition at line 169 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillFaces(), and CREAnimationPanel::setItem().

Here is the caller graph for this function:

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

Definition at line 175 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 141 of file CREUtils.cpp.

References recipestruct::arch_name, recipestruct::arch_names, archt::clone, obj::face, find_archetype(), CREPixmap::getIcon(), obj::name, new_face_struct::number, 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::mapNode ( QTreeWidgetItem *  parent)
static

Definition at line 202 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillMaps(), CREResourcesWindow::fillRandomMaps(), and CREArchetypePanel::setItem().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::mapNode ( const CREMapInformation map,
QTreeWidgetItem *  parent 
)
static

Definition at line 207 of file CREUtils.cpp.

References CREMapInformation::name, and CREMapInformation::path.

QTreeWidgetItem * CREUtils::messageNode ( const MessageFile message,
QTreeWidgetItem *  parent 
)
static

Definition at line 230 of file CREUtils.cpp.

References MessageFile::path().

Referenced by CREResourcesWindow::fillMessages().

Here is the call graph for this function:

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::messagesNode ( )
static

Definition at line 225 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillMessages().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::objectNode ( const object op,
QTreeWidgetItem *  parent 
)
static

Definition at line 29 of file CREUtils.cpp.

References obj::face, CREPixmap::getIcon(), obj::nrof, new_face_struct::number, and query_name().

Referenced by CRETreasurePanel::onGenerate().

Here is the call graph for this function:

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::questNode ( const Quest quest,
QTreeWidgetItem *  parent 
)
static

Definition at line 217 of file CREUtils.cpp.

References Quest::code(), Quest::faceNumber(), and CREPixmap::getIcon().

Referenced by CREResourcesWindow::fillQuests().

Here is the call graph for this function:

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::questsNode ( )
static

Definition at line 212 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillQuests().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::regionNode ( const QString &  name,
int  count,
QTreeWidgetItem *  parent 
)
static

Definition at line 197 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillMaps().

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::scriptNode ( const ScriptFile script,
QTreeWidgetItem *  parent 
)
static

Definition at line 239 of file CREUtils.cpp.

References ScriptFile::path().

Referenced by CREResourcesWindow::fillScripts().

Here is the call graph for this function:

Here is the caller graph for this function:

QTreeWidgetItem * CREUtils::scriptsNode ( )
static

Definition at line 235 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillScripts().

Here is the caller graph for this function:

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

Definition at line 83 of file CREUtils.cpp.

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

Here is the caller graph for this function:

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

Definition at line 89 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,
const treasurelist list,
QTreeWidgetItem *  parent 
)
static

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