PythonQtWrapper_QStringMatcher.h
27 lines
| 1013 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSTRINGMATCHER_H | ||
#define PYTHONQTWRAPPER_QSTRINGMATCHER_H | ||||
#include <qstringmatcher.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qstringmatcher.h> | ||||
class PythonQtWrapper_QStringMatcher : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QStringMatcher* new_QStringMatcher(); | ||||
QStringMatcher* new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs = Qt::CaseSensitive); | ||||
QStringMatcher* new_QStringMatcher(const QStringMatcher& other); | ||||
void delete_QStringMatcher(QStringMatcher* obj) { delete obj; } | ||||
Qt::CaseSensitivity caseSensitivity(QStringMatcher* theWrappedObject) const; | ||||
void setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs); | ||||
florianlink
|
r24 | QString pattern(QStringMatcher* theWrappedObject) const; | ||
int indexIn(QStringMatcher* theWrappedObject, const QString& str, int from = 0) const; | ||||
florianlink
|
r13 | void setPattern(QStringMatcher* theWrappedObject, const QString& pattern); | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QSTRINGMATCHER_H | ||||