Crossfire Server, Trunk  R20513
CRETreeItemQuest.h
Go to the documentation of this file.
1 #ifndef _CRETREEITEMQUEST_H
2 #define _CRETREEITEMQUEST_H
3 
4 #include <QObject>
5 #include "CRETreeItem.h"
6 
7 class Quest;
8 class QTreeWidgetItem;
10 
11 class CRETreeItemQuest : public CRETTreeItem<Quest>
12 {
13  Q_OBJECT
14 
15  public:
16  CRETreeItemQuest(Quest* quest, QTreeWidgetItem* item, CREResourcesWindow* window);
17  virtual ~CRETreeItemQuest();
18  virtual QString getPanelName() const;
19  virtual void fillPanel(QWidget* panel);
20  virtual void fillContextMenu(QMenu* menu);
21 
22  protected:
23  QTreeWidgetItem* myTreeItem;
25 
26  protected slots:
27  void questModified();
28  void deleteQuest(bool);
29 };
30 
31 #endif /* _CRETREEITEMQUEST_H */
Definition: Quest.h:32
CREResourcesWindow * myWindow
QTreeWidgetItem * myTreeItem
virtual void fillContextMenu(QMenu *menu)
virtual ~CRETreeItemQuest()
CRETreeItemQuest(Quest *quest, QTreeWidgetItem *item, CREResourcesWindow *window)
virtual void fillPanel(QWidget *panel)
virtual QString getPanelName() const