##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QTextBoundaryFinder.h
38 lines | 1.8 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_core / PythonQtWrapper_QTextBoundaryFinder.h
#ifndef PYTHONQTWRAPPER_QTEXTBOUNDARYFINDER_H
#define PYTHONQTWRAPPER_QTEXTBOUNDARYFINDER_H
#include <qtextboundaryfinder.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qtextboundaryfinder.h>
class PythonQtWrapper_QTextBoundaryFinder : public QObject
{ Q_OBJECT
public:
Q_ENUMS(BoundaryReason BoundaryType )
enum BoundaryReason{
NotAtBoundary = QTextBoundaryFinder::NotAtBoundary, StartWord = QTextBoundaryFinder::StartWord, EndWord = QTextBoundaryFinder::EndWord};
enum BoundaryType{
Grapheme = QTextBoundaryFinder::Grapheme, Word = QTextBoundaryFinder::Word, Line = QTextBoundaryFinder::Line, Sentence = QTextBoundaryFinder::Sentence};
public slots:
QTextBoundaryFinder* new_QTextBoundaryFinder();
QTextBoundaryFinder* new_QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType type, const QString& string);
QTextBoundaryFinder* new_QTextBoundaryFinder(const QTextBoundaryFinder& other);
void delete_QTextBoundaryFinder(QTextBoundaryFinder* obj) { delete obj; }
QTextBoundaryFinder::BoundaryReasons boundaryReasons(QTextBoundaryFinder* theWrappedObject) const;
int toPreviousBoundary(QTextBoundaryFinder* theWrappedObject);
bool isValid(QTextBoundaryFinder* theWrappedObject) const;
QString string(QTextBoundaryFinder* theWrappedObject) const;
bool isAtBoundary(QTextBoundaryFinder* theWrappedObject) const;
int toNextBoundary(QTextBoundaryFinder* theWrappedObject);
QTextBoundaryFinder::BoundaryType type(QTextBoundaryFinder* theWrappedObject) const;
int position(QTextBoundaryFinder* theWrappedObject) const;
void toEnd(QTextBoundaryFinder* theWrappedObject);
void toStart(QTextBoundaryFinder* theWrappedObject);
void setPosition(QTextBoundaryFinder* theWrappedObject, int position);
};
#endif // PYTHONQTWRAPPER_QTEXTBOUNDARYFINDER_H