Crossfire Server, Trunk
ArchetypeComboBox.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 ARCHETYPE_LIST_COMBOBOX_H
14
#define ARCHETYPE_LIST_COMBOBOX_H
15
16
#include <QtWidgets>
17
18
extern
"C"
{
19
#include "
global.h
"
20
}
21
25
class
ArchetypeComboBox
:
public
QComboBox {
26
Q_OBJECT
27
28
Q_PROPERTY(
const
archetype
*
arch
READ
arch
WRITE
setArch
)
29
30
public
:
36
ArchetypeComboBox
(QWidget *parent,
bool
allowNone);
37
42
void
setArch
(
const
archetype
*
arch
);
47
const
archetype
*
arch
()
const
;
48
};
49
50
#endif
/* ARCHETYPE_LIST_COMBOBOX_H */
global.h
ArchetypeComboBox::ArchetypeComboBox
ArchetypeComboBox(QWidget *parent, bool allowNone)
Definition:
ArchetypeComboBox.cpp:18
ArchetypeComboBox::arch
const archetype arch
Definition:
ArchetypeComboBox.h:28
archt
Definition:
object.h:469
ArchetypeComboBox
Definition:
ArchetypeComboBox.h:25
ArchetypeComboBox::setArch
void setArch(const archetype *arch)
Definition:
ArchetypeComboBox.cpp:41
crossfire-crossfire-server
utils
cre
archetypes
ArchetypeComboBox.h
Generated by
1.8.17