Crossfire Server, Trunk  R20513
Public Member Functions | Private Attributes
QuestStep Class Reference

#include <Quest.h>

Inheritance diagram for QuestStep:
Inheritance graph
Collaboration diagram for QuestStep:
Collaboration graph

Public Member Functions

const QString & description () const
 
bool isCompletion () const
 
 QuestStep ()
 
void setCompletion (bool completion)
 
void setDescription (const QString &description)
 
void setStep (int step)
 
const QStringList & setWhen () const
 
QStringList & setWhen ()
 
int step () const
 

Private Attributes

QString myDescription
 
bool myIsCompletion
 
QStringList mySetWhen
 
int myStep
 

Detailed Description

Definition at line 9 of file Quest.h.

Constructor & Destructor Documentation

QuestStep::QuestStep ( )

Definition at line 3 of file Quest.cpp.

References myIsCompletion, and myStep.

Member Function Documentation

const QString & QuestStep::description ( ) const

Definition at line 19 of file Quest.cpp.

References myDescription.

Referenced by QuestManager::saveQuestFile(), and CRESubItemQuest::selectedQuestChanged().

Here is the caller graph for this function:

bool QuestStep::isCompletion ( ) const

Definition at line 29 of file Quest.cpp.

References myIsCompletion.

Referenced by QuestManager::saveQuestFile(), and CRESubItemQuest::selectedQuestChanged().

Here is the caller graph for this function:

void QuestStep::setCompletion ( bool  completion)

Definition at line 34 of file Quest.cpp.

References myIsCompletion.

Referenced by QuestManager::loadQuestFile(), and CREQuestItemModel::setData().

Here is the caller graph for this function:

void QuestStep::setDescription ( const QString &  description)

Definition at line 24 of file Quest.cpp.

References myDescription.

Referenced by QuestManager::loadQuestFile(), and CREQuestItemModel::setData().

Here is the caller graph for this function:

void QuestStep::setStep ( int  step)

Definition at line 14 of file Quest.cpp.

References myStep, and step().

Referenced by QuestManager::loadQuestFile(), and CREQuestItemModel::setData().

Here is the call graph for this function:

Here is the caller graph for this function:

const QStringList & QuestStep::setWhen ( ) const

Definition at line 39 of file Quest.cpp.

References mySetWhen.

Referenced by QuestManager::loadQuestFile(), QuestManager::saveQuestFile(), and CREQuestItemModel::setData().

Here is the caller graph for this function:

QStringList & QuestStep::setWhen ( )

Definition at line 44 of file Quest.cpp.

References mySetWhen.

int QuestStep::step ( ) const

Definition at line 9 of file Quest.cpp.

References myStep.

Referenced by QuestManager::saveQuestFile(), CRESubItemQuest::selectedQuestChanged(), setStep(), and Quest::steps().

Here is the caller graph for this function:

Field Documentation

QString QuestStep::myDescription
private

Definition at line 27 of file Quest.h.

Referenced by description(), Quest::description(), setDescription(), and Quest::setDescription().

bool QuestStep::myIsCompletion
private

Definition at line 28 of file Quest.h.

Referenced by isCompletion(), QuestStep(), and setCompletion().

QStringList QuestStep::mySetWhen
private

Definition at line 29 of file Quest.h.

Referenced by setWhen().

int QuestStep::myStep
private

Definition at line 26 of file Quest.h.

Referenced by QuestStep(), setStep(), and step().


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