Crossfire Server, Branches 1.12  R18729
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 
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 }
void setRecipe(const recipe *recipe)
struct recipestruct recipe
CRETreeItemFormulae(const recipe *recipe)
virtual void fillPanel(QWidget *panel)