Crossfire Server, Trunk
CREWrapperArchetype.h
Go to the documentation of this file.
1
#ifndef CRE_WRAPPER_ARCHETYPE_H
2
#define CRE_WRAPPER_ARCHETYPE_H
3
4
#include <QObject>
5
6
extern
"C"
7
{
8
#include "
global.h
"
9
}
10
11
class
CREWrapperObject
;
12
13
class
CREWrapperArchetype
:
public
QObject
14
{
15
Q_OBJECT
16
17
Q_PROPERTY(QString
name
READ
name
)
18
Q_PROPERTY(QObject*
clone
READ
clone
)
19
20
public:
21
CREWrapperArchetype
(
CREWrapperObject
* parent,
archetype
*
arch
);
22
23
void
setArchetype
(
archetype
*
arch
);
24
archetype
*
arch
() {
return
myArchetype
; }
25
26
QString
name
()
const
;
27
QObject*
clone
();
28
29
protected
:
30
archetype
*
myArchetype
;
31
CREWrapperObject
*
myObject
;
32
};
33
34
#endif // CRE_WRAPPER_ARCHETYPE_H
global.h
CREWrapperObject
Definition:
CREWrapperObject.h:12
CREWrapperArchetype::arch
archetype * arch()
Definition:
CREWrapperArchetype.h:24
archt
Definition:
object.h:468
CREWrapperArchetype::myArchetype
archetype * myArchetype
Definition:
CREWrapperArchetype.h:30
CREWrapperArchetype::myObject
CREWrapperObject * myObject
Definition:
CREWrapperArchetype.h:31
CREWrapperArchetype::setArchetype
void setArchetype(archetype *arch)
Definition:
CREWrapperArchetype.cpp:10
CREWrapperArchetype::clone
QObject clone
Definition:
CREWrapperArchetype.h:18
CREWrapperArchetype::name
QString name
Definition:
CREWrapperArchetype.h:17
CREWrapperArchetype
Definition:
CREWrapperArchetype.h:13
crossfire-crossfire-server
utils
cre
CREWrapperArchetype.h
Generated by
1.8.17