Crossfire Server, Trunk  R20576
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::QuestStep ( )

Definition at line 3 of file Quest.cpp.

References myIsCompletion, and myStep.

Member Function Documentation

◆ description()

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:

◆ isCompletion()

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:

◆ setCompletion()

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:

◆ setDescription()

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:

◆ setStep()

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:

◆ setWhen() [1/2]

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:

◆ setWhen() [2/2]

QStringList & QuestStep::setWhen ( )

Definition at line 44 of file Quest.cpp.

References mySetWhen.

◆ step()

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

◆ myDescription

QString QuestStep::myDescription
private

Definition at line 27 of file Quest.h.

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

◆ myIsCompletion

bool QuestStep::myIsCompletion
private

Definition at line 28 of file Quest.h.

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

◆ mySetWhen

QStringList QuestStep::mySetWhen
private

Definition at line 29 of file Quest.h.

Referenced by setWhen().

◆ myStep

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: