Crossfire Server, Trunk  R20513
CREFilter.h
Go to the documentation of this file.
1 #ifndef CRE_FILTER_H
2 #define CRE_FILTER_H
3 
4 class QObject;
5 #include <QString>
6 #include "CREScriptEngine.h"
7 
8 class CREFilter
9 {
10  public:
11  CREFilter();
12 
13  bool showItem(QObject* item);
14 
15  const QString& filter() const;
16  void setFilter(const QString& filter);
17 
18  protected:
19  QString myFilter;
21 };
22 
23 #endif // CRE_FILTER_H
void setFilter(const QString &filter)
Definition: CREFilter.cpp:33
QString myFilter
Definition: CREFilter.h:19
bool showItem(QObject *item)
Definition: CREFilter.cpp:8
CREScriptEngine myEngine
Definition: CREFilter.h:20
const QString & filter() const
Definition: CREFilter.cpp:28