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