##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QTextDocumentFragment.h
31 lines | 1.4 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QTextDocumentFragment.h
#ifndef PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H
#define PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H
#include <qtextdocumentfragment.h>
#include <QObject>
#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);
QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider);
QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText);
bool isEmpty(QTextDocumentFragment* theWrappedObject) const;
QString toHtml(QTextDocumentFragment* theWrappedObject) const;
QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const;
QString toPlainText(QTextDocumentFragment* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTDOCUMENTFRAGMENT_H