Crossfire Server, Trunk  R20513
Public Member Functions | Protected Attributes
CREFilter Class Reference

#include <CREFilter.h>

Collaboration diagram for CREFilter:
Collaboration graph

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 ( )

Definition at line 4 of file CREFilter.cpp.

Member Function Documentation

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:

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:

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

CREScriptEngine CREFilter::myEngine
protected

Definition at line 20 of file CREFilter.h.

Referenced by showItem().

QString CREFilter::myFilter
protected

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: