Crossfire Server, Trunk  R21670
CREFilter Class Reference

#include <CREFilter.h>

+ Collaboration diagram for CREFilter:

Public Member Functions

 CREFilter ()
const QString & filter () const
void setFilter (const QString &filter)
bool showItem (QObject *item)

Protected Attributes

CREScriptEngine myEngine
QString myFilter

Detailed Description

Definition at line 8 of file CREFilter.h.

Constructor & Destructor Documentation

◆ CREFilter()

CREFilter::CREFilter ( )

Definition at line 4 of file CREFilter.cpp.

Member Function Documentation

◆ filter()

const QString & CREFilter::filter ( ) const

Definition at line 28 of file CREFilter.cpp.

References myFilter.

Referenced by CREResourcesWindow::onQuickFilter(), and setFilter().

+ Here is the caller graph for this function:

◆ setFilter()

void CREFilter::setFilter ( const QString &  filter)

Definition at line 33 of file CREFilter.cpp.

References filter(), and myFilter.

Referenced by CREResourcesWindow::clearFilter(), CREResourcesWindow::onFilterChange(), and CREResourcesWindow::onQuickFilter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showItem()

bool CREFilter::showItem ( QObject *  item)

Definition at line 8 of file CREFilter.cpp.

References myEngine, and myFilter.

Referenced by CREResourcesWindow::fillArchetypes(), CREResourcesWindow::fillArtifacts(), and CREResourcesWindow::fillFormulae().

+ Here is the caller graph for this function:

Field Documentation

◆ myEngine

CREScriptEngine CREFilter::myEngine

Definition at line 20 of file CREFilter.h.

Referenced by showItem().

◆ myFilter

QString CREFilter::myFilter

Definition at line 19 of file CREFilter.h.

Referenced by filter(), setFilter(), and showItem().

The documentation for this class was generated from the following files: