PythonQtWrapper_QTextDocumentFragment.h
33 lines
| 1.4 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H | ||
#define PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H | ||||
#include <qtextdocumentfragment.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qtextcursor.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextdocumentfragment.h> | ||||
class PythonQtWrapper_QTextDocumentFragment : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextDocumentFragment* new_QTextDocumentFragment(); | ||||
QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); | ||||
QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); | ||||
QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); | ||||
void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } | ||||
QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); | ||||
florianlink
|
r28 | QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); | ||
bool isEmpty(QTextDocumentFragment* theWrappedObject) const; | ||||
florianlink
|
r13 | QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const; | ||
florianlink
|
r28 | QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); | ||
florianlink
|
r13 | QString toPlainText(QTextDocumentFragment* theWrappedObject) const; | ||
florianlink
|
r24 | QString toHtml(QTextDocumentFragment* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H | ||||