Crossfire Server, Trunk
CREPrePostList.h
Go to the documentation of this file.
1 #ifndef CREPREPOSTLIST_H
2 #define CREPREPOSTLIST_H
3 
4 #include <QDialog>
5 
6 class QListWidget;
7 class MessageManager;
8 
13 class CREPrePostList : public QDialog
14 {
15  Q_OBJECT
16 
17 public:
19 
20  CREPrePostList(QWidget* parent, Mode mode, const MessageManager* manager);
21  virtual ~CREPrePostList();
22 
23  QList<QStringList> data() const;
24  void setData(const QList<QStringList>& data);
25 
26 private slots:
27  void onAddCondition(bool);
28  void onDeleteCondition(bool);
29  void onReset(bool);
30 
31 private:
32  void addItem(const QStringList& item);
33  QListWidget* myList;
34  QList<QStringList> myOriginal;
36 };
37 
38 #endif /* CREPREPOSTLIST_H */
39 
CREPrePostList::onDeleteCondition
void onDeleteCondition(bool)
Definition: CREPrePostList.cpp:93
CREPrePostList
Definition: CREPrePostList.h:13
CREPrePostList::onReset
void onReset(bool)
Definition: CREPrePostList.cpp:101
CREPrePostList::PostConditions
@ PostConditions
Definition: CREPrePostList.h:18
CREPrePostList::myMode
Mode myMode
Definition: CREPrePostList.h:35
CREPrePostList::myList
QListWidget * myList
Definition: CREPrePostList.h:33
CREPrePostList::addItem
void addItem(const QStringList &item)
Definition: CREPrePostList.cpp:61
CREPrePostList::Mode
Mode
Definition: CREPrePostList.h:18
CREPrePostList::onAddCondition
void onAddCondition(bool)
Definition: CREPrePostList.cpp:84
CREPrePostList::setData
void setData(const QList< QStringList > &data)
Definition: CREPrePostList.cpp:72
MessageManager
Definition: MessageManager.h:13
CREPrePostList::myOriginal
QList< QStringList > myOriginal
Definition: CREPrePostList.h:34
CREPrePostList::SetWhen
@ SetWhen
Definition: CREPrePostList.h:18
CREPrePostList::CREPrePostList
CREPrePostList(QWidget *parent, Mode mode, const MessageManager *manager)
Definition: CREPrePostList.cpp:5
CREPrePostList::~CREPrePostList
virtual ~CREPrePostList()
Definition: CREPrePostList.cpp:43
item
Definition: item.py:1
CREPrePostList::PreConditions
@ PreConditions
Definition: CREPrePostList.h:18
manager
static AssetsManager * manager
Definition: assets.cpp:63
CREPrePostList::data
QList< QStringList > data() const
Definition: CREPrePostList.cpp:47