Crossfire Server, Trunk  R20513
Public Member Functions | Protected Slots | Protected Attributes
CRETreeItemQuest Class Reference

#include <CRETreeItemQuest.h>

Inheritance diagram for CRETreeItemQuest:
Inheritance graph
Collaboration diagram for CRETreeItemQuest:
Collaboration graph

Public Member Functions

 CRETreeItemQuest (Quest *quest, QTreeWidgetItem *item, CREResourcesWindow *window)
 
virtual void fillContextMenu (QMenu *menu)
 
virtual void fillPanel (QWidget *panel)
 
virtual QString getPanelName () const
 
virtual ~CRETreeItemQuest ()
 
- Public Member Functions inherited from CRETTreeItem< Quest >
 CRETTreeItem (Quest *item, const QString &name)
 

Protected Slots

void deleteQuest (bool)
 
void questModified ()
 

Protected Attributes

QTreeWidgetItem * myTreeItem
 
CREResourcesWindowmyWindow
 
- Protected Attributes inherited from CRETTreeItem< Quest >
QuestmyItem
 
QString myName
 

Detailed Description

Definition at line 11 of file CRETreeItemQuest.h.

Constructor & Destructor Documentation

CRETreeItemQuest::CRETreeItemQuest ( Quest quest,
QTreeWidgetItem *  item,
CREResourcesWindow window 
)

Definition at line 9 of file CRETreeItemQuest.cpp.

References CRETTreeItem< Quest >::myItem, myTreeItem, myWindow, and questModified().

Here is the call graph for this function:

CRETreeItemQuest::~CRETreeItemQuest ( )
virtual

Definition at line 20 of file CRETreeItemQuest.cpp.

Member Function Documentation

void CRETreeItemQuest::deleteQuest ( bool  )
protectedslot

Definition at line 61 of file CRETreeItemQuest.cpp.

References CREResourcesWindow::deleteQuest(), CRETTreeItem< Quest >::myItem, and myWindow.

Referenced by fillContextMenu().

Here is the call graph for this function:

Here is the caller graph for this function:

void CRETreeItemQuest::fillContextMenu ( QMenu *  menu)
virtual

Reimplemented from CRETreeItem.

Definition at line 51 of file CRETreeItemQuest.cpp.

References deleteQuest(), and CRETTreeItem< Quest >::myItem.

Here is the call graph for this function:

void CRETreeItemQuest::fillPanel ( QWidget *  panel)
virtual

Reimplemented from CRETTreeItem< Quest >.

Definition at line 31 of file CRETreeItemQuest.cpp.

References CRETTreeItem< T >::fillPanel(), and CRETTreeItem< Quest >::myItem.

Here is the call graph for this function:

QString CRETreeItemQuest::getPanelName ( ) const
virtual

Reimplemented from CRETTreeItem< Quest >.

Definition at line 24 of file CRETreeItemQuest.cpp.

References CRETTreeItem< Quest >::myItem.

void CRETreeItemQuest::questModified ( )
protectedslot

Definition at line 39 of file CRETreeItemQuest.cpp.

References Quest::code(), ResourcesManager::face(), Quest::face(), CREPixmap::getIcon(), CRETTreeItem< Quest >::myItem, myTreeItem, myWindow, new_face_struct::number, and CREResourcesWindow::resourcesManager().

Referenced by CRETreeItemQuest().

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

QTreeWidgetItem* CRETreeItemQuest::myTreeItem
protected

Definition at line 23 of file CRETreeItemQuest.h.

Referenced by CRETreeItemQuest(), and questModified().

CREResourcesWindow* CRETreeItemQuest::myWindow
protected

Definition at line 24 of file CRETreeItemQuest.h.

Referenced by CRETreeItemQuest(), deleteQuest(), and questModified().


The documentation for this class was generated from the following files: