PythonQtWrapper_QTextFragment.h
29 lines
| 1.1 KiB
| text/x-c
|
CLexer
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTFRAGMENT_H | ||
#define PYTHONQTWRAPPER_QTEXTFRAGMENT_H | ||||
#include <qtextobject.h> | ||||
#include <QObject> | ||||
#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; } | ||||
QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; | ||||
int charFormatIndex(QTextFragment* theWrappedObject) const; | ||||
bool contains(QTextFragment* theWrappedObject, int position) const; | ||||
bool isValid(QTextFragment* theWrappedObject) const; | ||||
int length(QTextFragment* theWrappedObject) const; | ||||
bool operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||||
bool operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||||
int position(QTextFragment* theWrappedObject) const; | ||||
QString text(QTextFragment* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTEXTFRAGMENT_H | ||||