Crossfire Server, Trunk
|
#include <CREPrePostList.h>
Public Types | |
enum | Mode { PreConditions, PostConditions, SetWhen } |
Signals | |
void | dataModified () |
Public Member Functions | |
QList< QStringList > | data () const |
PrePostWidget (QWidget *parent, Mode mode, const MessageManager *manager) | |
void | setData (const QList< QStringList > &data) |
Properties | |
QList< QStringList > | data |
Private Slots | |
void | onAddCondition (bool) |
void | onDeleteCondition (bool) |
void | onReset (bool) |
Private Member Functions | |
void | addItem (const QStringList &item) |
Private Attributes | |
QListWidget * | myList |
Mode | myMode |
QList< QStringList > | myOriginal |
Definition at line 21 of file CREPrePostList.h.
enum PrePostWidget::Mode |
Enumerator | |
---|---|
PreConditions | |
PostConditions | |
SetWhen |
Definition at line 27 of file CREPrePostList.h.
PrePostWidget::PrePostWidget | ( | QWidget * | parent, |
Mode | mode, | ||
const MessageManager * | manager | ||
) |
Definition at line 17 of file CREPrePostList.cpp.
References dataModified(), banquet::l, manager, myList, onAddCondition(), onDeleteCondition(), and onReset().
|
private |
Definition at line 57 of file CREPrePostList.cpp.
References dataModified(), myList, myMode, and SetWhen.
Referenced by onAddCondition(), and setData().
QList<QStringList> PrePostWidget::data | ( | ) | const |
|
signal |
Referenced by addItem(), onAddCondition(), onDeleteCondition(), onReset(), and PrePostWidget().
|
privateslot |
Definition at line 81 of file CREPrePostList.cpp.
References addItem(), dataModified(), say::item, and myList.
Referenced by PrePostWidget().
|
privateslot |
Definition at line 91 of file CREPrePostList.cpp.
References dataModified(), and myList.
Referenced by PrePostWidget().
|
privateslot |
Definition at line 100 of file CREPrePostList.cpp.
References dataModified(), myOriginal, and setData().
Referenced by PrePostWidget().
void PrePostWidget::setData | ( | const QList< QStringList > & | data | ) |
Definition at line 69 of file CREPrePostList.cpp.
References addItem(), data, myList, myMode, myOriginal, and SetWhen.
Referenced by onReset(), and CREPrePostList::setData().
|
private |
Definition at line 44 of file CREPrePostList.h.
Referenced by addItem(), onAddCondition(), onDeleteCondition(), PrePostWidget(), and setData().
|
private |
Definition at line 46 of file CREPrePostList.h.
|
private |
Definition at line 45 of file CREPrePostList.h.
|
readwrite |
Definition at line 24 of file CREPrePostList.h.
Referenced by CREPrePostList::data(), and setData().