|
Crossfire Server, Trunk
|
#include <Quest.h>
Inheritance diagram for Quest:
Collaboration diagram for Quest:Signals | |
| void | modified () |
Public Member Functions | |
| bool | canRestart () const |
| const QString & | code () const |
| const QString & | comment () const |
| const QString & | description () const |
| const Face * | face () const |
| bool | isModified () const |
| bool | isSystem () const |
| QList< CREMapInformation * > & | maps () |
| const Quest * | parent () const |
| Quest () | |
| void | setCode (const QString &code) |
| void | setComment (const QString &comment) |
| void | setDescription (const QString &description) |
| void | setFace (const Face *face) |
| void | setModified (bool modified) |
| void | setParent (Quest *parent) |
| void | setRestart (bool restart) |
| void | setSystem (bool system) |
| void | setTitle (const QString &title) |
| QList< QuestStep * > & | steps () |
| QList< const QuestStep * > | steps () const |
| const QString & | title () const |
| virtual | ~Quest () |
Private Member Functions | |
| void | markModified () |
Private Attributes | |
| bool | myCanRestart |
| QString | myCode |
| QString | myComment |
| QString | myDescription |
| const Face * | myFace |
| bool | myIsSystem |
| QList< CREMapInformation * > | myMaps |
| bool | myModified |
| Quest * | myParent |
| QList< QuestStep * > | mySteps |
| QString | myTitle |
| Quest::Quest | ( | ) |
Definition at line 50 of file Quest.cpp.
References myCanRestart, myFace, myIsSystem, myModified, and myParent.
| bool Quest::canRestart | ( | ) | const |
Definition at line 116 of file Quest.cpp.
References myCanRestart.
| const QString & Quest::code | ( | ) | const |
Definition at line 64 of file Quest.cpp.
References myCode.
Referenced by CRETreeItemQuest::questModified(), and setCode().
Here is the caller graph for this function:| const QString & Quest::comment | ( | ) | const |
Definition at line 176 of file Quest.cpp.
References myComment.
Referenced by setComment().
Here is the caller graph for this function:| const QString & Quest::description | ( | ) | const |
Definition at line 103 of file Quest.cpp.
References myDescription.
Referenced by setDescription().
Here is the caller graph for this function:| const Face * Quest::face | ( | ) | const |
Definition at line 90 of file Quest.cpp.
References myFace.
Referenced by CRETreeItemQuest::questModified(), and setFace().
Here is the caller graph for this function:| bool Quest::isModified | ( | ) | const |
Definition at line 142 of file Quest.cpp.
References myModified.
| bool Quest::isSystem | ( | ) | const |
Definition at line 190 of file Quest.cpp.
References myIsSystem.
| QList< CREMapInformation * > & Quest::maps | ( | ) |
|
private |
Definition at line 151 of file Quest.cpp.
References modified(), and setModified().
Referenced by setCode(), setComment(), setDescription(), setFace(), setParent(), setRestart(), setSystem(), and setTitle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
signal |
| const Quest * Quest::parent | ( | ) | const |
Definition at line 157 of file Quest.cpp.
References myParent.
Referenced by setParent().
Here is the caller graph for this function:| void Quest::setCode | ( | const QString & | code | ) |
Definition at line 69 of file Quest.cpp.
References code(), markModified(), and myCode.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setComment | ( | const QString & | comment | ) |
Definition at line 181 of file Quest.cpp.
References comment(), markModified(), and myComment.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setDescription | ( | const QString & | description | ) |
Definition at line 108 of file Quest.cpp.
References description(), markModified(), and myDescription.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setFace | ( | const Face * | face | ) |
Definition at line 95 of file Quest.cpp.
References face(), markModified(), and myFace.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setModified | ( | bool | modified | ) |
Definition at line 146 of file Quest.cpp.
References modified(), and myModified.
Referenced by CREQuestItemModel::addStep(), markModified(), CREQuestItemModel::moveDown(), CREQuestItemModel::moveUp(), and CREQuestItemModel::setData().
Here is the caller graph for this function:| void Quest::setParent | ( | Quest * | parent | ) |
Definition at line 162 of file Quest.cpp.
References markModified(), myParent, and parent().
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setRestart | ( | bool | restart | ) |
Definition at line 121 of file Quest.cpp.
References markModified(), and myCanRestart.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setSystem | ( | bool | system | ) |
Definition at line 194 of file Quest.cpp.
References markModified(), and myIsSystem.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| void Quest::setTitle | ( | const QString & | title | ) |
Definition at line 82 of file Quest.cpp.
References markModified(), and myTitle.
Referenced by CREQuestPanel::commitData().
Here is the call graph for this function:
Here is the caller graph for this function:| QList<QuestStep*>& Quest::steps | ( | ) |
| QList< QuestStep * > & Quest::steps | ( | ) | const |
Definition at line 129 of file Quest.cpp.
References mySteps.
Referenced by CREQuestItemModel::addStep(), CREQuestItemModel::data(), CREQuestItemModel::moveDown(), CREQuestItemModel::moveUp(), CREQuestItemModel::removeRows(), CREQuestItemModel::rowCount(), and CREQuestItemModel::setData().
Here is the caller graph for this function:
|
private |
Definition at line 74 of file Quest.h.
Referenced by canRestart(), Quest(), and setRestart().
|
private |
|
private |
Definition at line 79 of file Quest.h.
Referenced by comment(), and setComment().
|
private |
Definition at line 73 of file Quest.h.
Referenced by description(), and setDescription().
|
private |
|
private |
Definition at line 80 of file Quest.h.
Referenced by isSystem(), Quest(), and setSystem().
|
private |
|
private |
Definition at line 76 of file Quest.h.
Referenced by isModified(), Quest(), and setModified().
|
private |
Definition at line 77 of file Quest.h.
Referenced by parent(), Quest(), and setParent().
|
private |
|
private |
Definition at line 71 of file Quest.h.
Referenced by setTitle(), and title().