Crossfire Server, Trunk
CREUtils.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2022 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef CREUTILS_H
14 #define CREUTILS_H
15 
16 #include <QtWidgets>
17 
18 #include "global.h"
19 #include "image.h"
20 
21 class CREUtils
22 {
23  public:
24  static QTreeWidgetItem* archetypeNode(const archetype* arch, QTreeWidgetItem* parent);
25 
26  static QTreeWidgetItem* objectNode(const object* op, QTreeWidgetItem* parent);
27 
28  static QTreeWidgetItem* faceNode(QTreeWidgetItem* parent);
29  static QTreeWidgetItem* faceNode(const Face* face, QTreeWidgetItem* parent);
30 };
31 
32 #endif // CREUTILS_H
Face
Definition: face.h:14
global.h
archininventory.arch
arch
DIALOGCHECK MINARGS 1 MAXARGS 1
Definition: archininventory.py:16
CREUtils::faceNode
static QTreeWidgetItem * faceNode(QTreeWidgetItem *parent)
Definition: CREUtils.cpp:44
CREUtils::archetypeNode
static QTreeWidgetItem * archetypeNode(const archetype *arch, QTreeWidgetItem *parent)
Definition: CREUtils.cpp:24
CREUtils
Definition: CREUtils.h:21
archetype
Definition: object.h:472
image.h
CREUtils::objectNode
static QTreeWidgetItem * objectNode(const object *op, QTreeWidgetItem *parent)
Definition: CREUtils.cpp:31
give.op
op
Definition: give.py:33