#include <QicsRegexpFilterDelegate.h>
Inherits QicsAbstractFilterDelegate.
Public Member Functions | |
| QicsRegexpFilterDelegate (const QRegExp ®exp) | |
| QRegExp | regexp () const |
| void | setRegexp (const QRegExp ®exp) |
| virtual bool | match (const QString &string) |
Private Attributes | |
| QRegExp | m_regexp |
| QicsRegexpFilterDelegate::QicsRegexpFilterDelegate | ( | const QRegExp & | regexp | ) |
Constructor. Takes QRegExp as argument regexp.
| QRegExp QicsRegexpFilterDelegate::regexp | ( | ) | const [inline] |
Returns QRegExp.
| void QicsRegexpFilterDelegate::setRegexp | ( | const QRegExp & | regexp | ) |
Sets QRegExp as argument regexp.
| virtual bool QicsRegexpFilterDelegate::match | ( | const QString & | string | ) | [virtual] |
This method must be implemented in subclasses. It should return true if given string matches a filter.
Implements QicsAbstractFilterDelegate.