Crossfire Server, Branches 1.12  R18729
CREUtils.h
Go to the documentation of this file.
1 #ifndef CREUTILS_H
2 #define CREUTILS_H
3 
4 #include <QtGui>
5 
6 extern "C" {
7 #include "global.h"
8 #include "artifact.h"
9 #include "treasure.h"
10 }
11 
12 class CREUtils
13 {
14  public:
15  static QTreeWidgetItem* archetypeNode(QTreeWidgetItem* parent);
16  static QTreeWidgetItem* archetypeNode(const archt* arch, QTreeWidgetItem* parent);
17 
18  static QTreeWidgetItem* artifactNode(QTreeWidgetItem* parent);
19  static QTreeWidgetItem* artifactNode(const artifact* arti, QTreeWidgetItem* parent);
20 
21  static QTreeWidgetItem* treasureNode(QTreeWidgetItem* parent);
22  static QTreeWidgetItem* treasureNode(const treasurelist* list, QTreeWidgetItem* parent);
23  static QTreeWidgetItem* treasureNode(const treasure* treasure, QTreeWidgetItem* parent);
24 
25  static QTreeWidgetItem* formulaeNode(const recipe* recipe, QTreeWidgetItem* parent);
26 
27  static QTreeWidgetItem* faceNode(QTreeWidgetItem* parent);
28  static QTreeWidgetItem* faceNode(const New_Face* face, QTreeWidgetItem* parent);
29 
30  static QTreeWidgetItem* animationNode(QTreeWidgetItem* parent);
31  static QTreeWidgetItem* animationNode(const Animations* anim, QTreeWidgetItem* parent);
32 };
33 
34 #endif // CREUTILS_H
static QTreeWidgetItem * animationNode(QTreeWidgetItem *parent)
Definition: CREUtils.cpp:142
static QTreeWidgetItem * archetypeNode(QTreeWidgetItem *parent)
Definition: CREUtils.cpp:11
static QTreeWidgetItem * artifactNode(QTreeWidgetItem *parent)
Definition: CREUtils.cpp:25
static QTreeWidgetItem * formulaeNode(const recipe *recipe, QTreeWidgetItem *parent)
Definition: CREUtils.cpp:101
Definition: object.h:321
static QTreeWidgetItem * faceNode(QTreeWidgetItem *parent)
Definition: CREUtils.cpp:129
static QTreeWidgetItem * treasureNode(QTreeWidgetItem *parent)
Definition: CREUtils.cpp:64