Crossfire Server, Branches 1.12  R18729
CRETreeItemFace.cpp
Go to the documentation of this file.
1 extern "C" {
2 #include "global.h"
3 #include "face.h"
4 }
5 
6 #include "CREFacePanel.h"
7 #include "CRETreeItemFace.h"
8 
10 {
11  myFace = face;
12 }
13 
15 {
16 }
17 
18 void CRETreeItemFace::fillPanel(QWidget* panel)
19 {
20  Q_ASSERT(myFace);
21  CREFacePanel* p = static_cast<CREFacePanel*>(panel);
22  p->setFace(myFace);
23 }
CRETreeItemFace(const New_Face *face)
virtual ~CRETreeItemFace()
virtual void fillPanel(QWidget *panel)
void setFace(const New_Face *face)
const New_Face * myFace