##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
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