Crossfire Server, Trunk
CREUtils Class Reference

#include <CREUtils.h>

+ Collaboration diagram for CREUtils:

Static Public Member Functions

static void addCountSuffix (QTreeWidgetItem *item, int column=0)
 
static QTreeWidgetItem * animationNode (const Animations *anim, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * animationNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * archetypeNode (const archt *arch, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * archetypeNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * artifactNode (const artifact *arti, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * artifactNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * faceNode (const Face *face, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * faceNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * facesetsNode ()
 
static QTreeWidgetItem * facesetsNode (const face_sets *faceset, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * formulaeNode (const recipe *recipe, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * generalMessageNode ()
 
static QTreeWidgetItem * generalMessageNode (const GeneralMessage *message, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * mapNode (const CREMapInformation *map, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * mapNode (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_definition *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 (const treasure *treasure, const treasurelist *list, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * treasureNode (const treasurelist *list, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * treasureNode (QTreeWidgetItem *parent)
 

Detailed Description

Definition at line 19 of file CREUtils.h.

Member Function Documentation

◆ addCountSuffix()

void CREUtils::addCountSuffix ( QTreeWidgetItem *  item,
int  column = 0 
)
static

Definition at line 290 of file CREUtils.cpp.

Referenced by CREArchetypePanel::setItem().

+ Here is the caller graph for this function:

◆ animationNode() [1/2]

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

Definition at line 205 of file CREUtils.cpp.

References animate::anim, CREPixmap::getIcon(), say::item, llevDebug, and LOG().

+ Here is the call graph for this function:

◆ animationNode() [2/2]

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

Definition at line 200 of file CREUtils.cpp.

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

+ Here is the caller graph for this function:

◆ archetypeNode() [1/2]

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

Definition at line 20 of file CREUtils.cpp.

References archininventory::arch, CREPixmap::getIcon(), and say::item.

+ Here is the call graph for this function:

◆ archetypeNode() [2/2]

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

◆ artifactNode() [1/2]

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

◆ artifactNode() [2/2]

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

Definition at line 40 of file CREUtils.cpp.

References say::item.

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

+ Here is the caller graph for this function:

◆ faceNode() [1/2]

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

Definition at line 193 of file CREUtils.cpp.

References CREPixmap::getIcon(), say::item, Face::name, and Face::number.

+ Here is the call graph for this function:

◆ faceNode() [2/2]

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

Definition at line 187 of file CREUtils.cpp.

References say::item.

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

+ Here is the caller graph for this function:

◆ facesetsNode() [1/2]

QTreeWidgetItem * CREUtils::facesetsNode ( )
static

Definition at line 280 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillFacesets().

+ Here is the caller graph for this function:

◆ facesetsNode() [2/2]

QTreeWidgetItem * CREUtils::facesetsNode ( const face_sets faceset,
QTreeWidgetItem *  parent 
)
static

Definition at line 284 of file CREUtils.cpp.

References face_sets::fullname, and say::item.

◆ formulaeNode()

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

Definition at line 147 of file CREUtils.cpp.

References recipestruct::arch_name, recipestruct::arch_names, archt::clone, obj::face, find_archetype(), CREPixmap::getIcon(), say::item, obj::name, Face::number, recipe_get_face(), recipestruct::title, and obj::title.

Referenced by CREResourcesWindow::fillFormulae(), and CREArchetypePanel::setItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generalMessageNode() [1/2]

QTreeWidgetItem * CREUtils::generalMessageNode ( )
static

Definition at line 262 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillGeneralMessages().

+ Here is the caller graph for this function:

◆ generalMessageNode() [2/2]

QTreeWidgetItem * CREUtils::generalMessageNode ( const GeneralMessage message,
QTreeWidgetItem *  parent 
)
static

Definition at line 266 of file CREUtils.cpp.

References CREPixmap::getIcon(), say::item, and diamondslots::message.

+ Here is the call graph for this function:

◆ mapNode() [1/2]

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

Definition at line 225 of file CREUtils.cpp.

References disinfect::map.

◆ mapNode() [2/2]

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

Definition at line 220 of file CREUtils.cpp.

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

+ Here is the caller graph for this function:

◆ messageNode()

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

Definition at line 248 of file CREUtils.cpp.

References diamondslots::message.

Referenced by CREResourcesWindow::fillMessages().

+ Here is the caller graph for this function:

◆ messagesNode()

QTreeWidgetItem * CREUtils::messagesNode ( )
static

Definition at line 243 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillMessages().

+ Here is the caller graph for this function:

◆ objectNode()

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

Definition at line 27 of file CREUtils.cpp.

References CREPixmap::getIcon(), say::item, give::name, give::op, and query_name().

Referenced by CRETreasurePanel::onGenerate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ questNode()

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

Definition at line 235 of file CREUtils.cpp.

References CREPixmap::getIcon(), and say::item.

Referenced by CREResourcesWindow::fillQuests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ questsNode()

QTreeWidgetItem * CREUtils::questsNode ( )
static

Definition at line 230 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillQuests().

+ Here is the caller graph for this function:

◆ regionNode()

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

Definition at line 215 of file CREUtils.cpp.

References disinfect::count, and give::name.

Referenced by CREResourcesWindow::fillMaps().

+ Here is the caller graph for this function:

◆ scriptNode()

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

Definition at line 257 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:

◆ scriptsNode()

QTreeWidgetItem * CREUtils::scriptsNode ( )
static

Definition at line 253 of file CREUtils.cpp.

Referenced by CREResourcesWindow::fillScripts().

+ Here is the caller graph for this function:

◆ treasureNode() [1/3]

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

◆ treasureNode() [2/3]

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

Definition at line 87 of file CREUtils.cpp.

References CREPixmap::getTreasureIcon(), CREPixmap::getTreasureOneIcon(), say::item, and guildoracle::list.

+ Here is the call graph for this function:

◆ treasureNode() [3/3]

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

Definition at line 81 of file CREUtils.cpp.

References say::item.

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

+ Here is the caller graph for this function:

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