Crossfire Server, Trunk
CREUtils Class Reference

#include <CREUtils.h>

+ Collaboration diagram for CREUtils:

Static Public Member Functions

static QTreeWidgetItem * archetypeNode (const archt *arch, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * faceNode (const Face *face, QTreeWidgetItem *parent)
 
static QTreeWidgetItem * faceNode (QTreeWidgetItem *parent)
 
static QTreeWidgetItem * objectNode (const object *op, QTreeWidgetItem *parent)
 

Detailed Description

Definition at line 21 of file CREUtils.h.

Member Function Documentation

◆ archetypeNode()

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

Definition at line 24 of file CREUtils.cpp.

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

Referenced by addArchetypes(), and RecipePanel::updateItem().

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

◆ faceNode() [1/2]

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

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

References say::item.

Referenced by AnimationPanel::updateItem().

+ Here is the caller graph for this function:

◆ objectNode()

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

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

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