PythonQtWrapper_QTextFragment.h
31 lines
| 1.1 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTFRAGMENT_H | ||
#define PYTHONQTWRAPPER_QTEXTFRAGMENT_H | ||||
#include <qtextobject.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qtextformat.h> | ||||
#include <qtextobject.h> | ||||
class PythonQtWrapper_QTextFragment : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextFragment* new_QTextFragment(); | ||||
QTextFragment* new_QTextFragment(const QTextFragment& o); | ||||
void delete_QTextFragment(QTextFragment* obj) { delete obj; } | ||||
florianlink
|
r28 | bool operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||
florianlink
|
r24 | int position(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r28 | QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; | ||
int length(QTextFragment* theWrappedObject) const; | ||||
florianlink
|
r24 | QString text(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r28 | bool operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||
florianlink
|
r24 | int charFormatIndex(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r28 | bool contains(QTextFragment* theWrappedObject, int position) const; | ||
florianlink
|
r13 | bool isValid(QTextFragment* theWrappedObject) const; | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QTEXTFRAGMENT_H | ||||