##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QStringMatcher.cpp
45 lines | 1.4 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QStringMatcher.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qstringmatcher.h>
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher()
{
return new QStringMatcher(); }
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs)
{
return new QStringMatcher(pattern, cs); }
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other)
{
return new QStringMatcher(other); }
int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const
{
return ( theWrappedObject->indexIn(str, from));
}
Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const
{
return ( theWrappedObject->caseSensitivity());
}
void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs)
{
( theWrappedObject->setCaseSensitivity(cs));
}
void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern)
{
( theWrappedObject->setPattern(pattern));
}
QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const
{
return ( theWrappedObject->pattern());
}