Crossfire Server, Trunk  R20513
CREFilterDefinitionManager.h
Go to the documentation of this file.
1 #ifndef CRE_FILTER_DEFINITION_MANAGER_H
2 #define CRE_FILTER_DEFINITION_MANAGER_H
3 
5 
6 #include <QObject>
7 #include <QMetaType>
8 
9 class CREFilterDefinitionManager : public QObject
10 {
11  Q_OBJECT
12 
13  public:
17 
18  void copy(const CREFilterDefinitionManager& other);
19 
20  QList<CREFilterDefinition*>& filters();
21  const QList<CREFilterDefinition*>& filters() const;
22 
23  protected:
24  QList<CREFilterDefinition*> myFilters;
25 };
26 
28 
29 QDataStream &operator<<(QDataStream &out, const CREFilterDefinitionManager &manager);
30 QDataStream &operator>>(QDataStream &in, CREFilterDefinitionManager &manager);
31 
32 #endif // CRE_FILTER_DEFINITION_MANAGER_H
QList< CREFilterDefinition * > & filters()
QDataStream & operator>>(QDataStream &in, CREFilterDefinitionManager &manager)
void copy(const CREFilterDefinitionManager &other)
QList< CREFilterDefinition * > myFilters
Q_DECLARE_METATYPE(CREFilterDefinitionManager)
QDataStream & operator<<(QDataStream &out, const CREFilterDefinitionManager &manager)