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 * archetypeNode (const archt *arch, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * archetypeNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * faceNode (const Face *face, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * faceNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * formulaeNode (const recipe *recipe, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * mapNode (const CREMapInformation *map, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * mapNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * objectNode (const object *op, QTreeWidgetItem *parent)
 
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 169 of file CREUtils.cpp.

Referenced by ArchetypePanel::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

Definition at line 14 of file CREUtils.cpp.

References say::item.

Referenced by addArchetypes(), RecipePanel::setItem(), CRETreasurePanel::setItem(), ArchetypePanel::setItem(), and treasureNode().

+ Here is the caller graph for this function:

◆ faceNode() [1/2]

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

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

References say::item.

Referenced by AnimationPanel::setItem().

+ Here is the caller graph for this function:

◆ formulaeNode()

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

Definition at line 106 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 ArchetypePanel::setItem().

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

◆ mapNode() [1/2]

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

Definition at line 164 of file CREUtils.cpp.

References disinfect::map.

◆ mapNode() [2/2]

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

Definition at line 159 of file CREUtils.cpp.

Referenced by ArchetypePanel::setItem().

+ 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:

◆ 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 46 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 40 of file CREUtils.cpp.

References say::item.

Referenced by ArchetypePanel::setItem(), and treasureNode().

+ Here is the caller graph for this function:

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