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

#include <CRETreasurePanel.h>

Inheritance diagram for CRETreasurePanel:
Inheritance graph
Collaboration diagram for CRETreasurePanel:
Collaboration graph

Public Slots

void onGenerate (bool pressed)
 

Public Member Functions

 CRETreasurePanel ()
 
virtual void setItem (const treasurelist *treasure)
 
- Public Member Functions inherited from CREPanel
virtual void commitData ()
 
 CREPanel ()
 
virtual ~CREPanel ()
 

Protected Attributes

QSpinBox * myDifficulty
 
QTreeWidget * myGenerated
 
const treasurelistmyTreasure
 
QTreeWidget * myUsing
 

Detailed Description

Definition at line 12 of file CRETreasurePanel.h.

Constructor & Destructor Documentation

CRETreasurePanel::CRETreasurePanel ( )

Definition at line 11 of file CRETreasurePanel.cpp.

References myDifficulty, myGenerated, myUsing, and onGenerate().

Here is the call graph for this function:

Member Function Documentation

void CRETreasurePanel::onGenerate ( bool  pressed)
slot

Definition at line 82 of file CRETreasurePanel.cpp.

References create_treasure(), identify(), obj::inv, myDifficulty, myGenerated, myTreasure, object_free2(), object_new(), object_remove(), and CREUtils::objectNode().

Referenced by CRETreasurePanel().

Here is the call graph for this function:

Here is the caller graph for this function:

void CRETreasurePanel::setItem ( const treasurelist treasure)
virtual

Field Documentation

QSpinBox* CRETreasurePanel::myDifficulty
protected

Definition at line 28 of file CRETreasurePanel.h.

Referenced by CRETreasurePanel(), and onGenerate().

QTreeWidget* CRETreasurePanel::myGenerated
protected

Definition at line 27 of file CRETreasurePanel.h.

Referenced by CRETreasurePanel(), onGenerate(), and setItem().

const treasurelist* CRETreasurePanel::myTreasure
protected

Definition at line 25 of file CRETreasurePanel.h.

Referenced by onGenerate(), and setItem().

QTreeWidget* CRETreasurePanel::myUsing
protected

Definition at line 26 of file CRETreasurePanel.h.

Referenced by CRETreasurePanel(), and setItem().


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