Crossfire Server, Branches 1.12
R18729
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
CRETreeItemArtifact.cpp
Go to the documentation of this file.
1
#include <Qt>
2
3
extern
"C"
{
4
#include "
global.h
"
5
#include "
artifact.h
"
6
}
7
8
#include "
CREArtifactPanel.h
"
9
#include "
CRETreeItemArtifact.h
"
10
#include "
CREUtils.h
"
11
12
CRETreeItemArtifact::CRETreeItemArtifact
(
const
artifact
*
artifact
)
13
{
14
myArtifact
=
artifact
;
15
}
16
17
void
CRETreeItemArtifact::fillPanel
(QWidget* panel)
18
{
19
CREArtifactPanel
* p =
static_cast<
CREArtifactPanel
*
>
(panel);
20
p->
setArtifact
(
myArtifact
);
21
}
CRETreeItemArtifact::myArtifact
const artifact * myArtifact
Definition:
CRETreeItemArtifact.h:23
CREArtifactPanel
Definition:
CREArtifactPanel.h:12
CREUtils.h
global.h
CRETreeItemArtifact::fillPanel
virtual void fillPanel(QWidget *panel)
Definition:
CRETreeItemArtifact.cpp:17
CRETreeItemArtifact.h
CRETreeItemArtifact::CRETreeItemArtifact
CRETreeItemArtifact(const artifact *artifact)
Definition:
CRETreeItemArtifact.cpp:12
artifact
struct artifactstruct artifact
CREArtifactPanel.h
artifactstruct
Definition:
artifact.h:37
CREArtifactPanel::setArtifact
void setArtifact(const artifact *artifact)
Definition:
CREArtifactPanel.cpp:42
artifact.h
crossfire-code
server
branches
1.12
utils
cre
CRETreeItemArtifact.cpp
Generated on Sun Nov 18 2018 02:40:30 for Crossfire Server, Branches 1.12 by
1.8.6