##// 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_QTextFrame.h
37 lines | 1.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTFRAME_H
#define PYTHONQTWRAPPER_QTEXTFRAME_H
#include <qtextobject.h>
#include <QObject>
#include <QTextCursor>
#include <QTextFrame>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextcursor.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextobject.h>
class PythonQtWrapper_QTextFrame : public QObject
{ Q_OBJECT
public:
public slots:
QTextFrame* new_QTextFrame(QTextDocument* doc);
void delete_QTextFrame(QTextFrame* obj) { delete obj; }
QTextFrame::iterator begin(QTextFrame* theWrappedObject) const;
QList<QTextFrame* > childFrames(QTextFrame* theWrappedObject) const;
QTextFrame::iterator end(QTextFrame* theWrappedObject) const;
QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const;
int firstPosition(QTextFrame* theWrappedObject) const;
QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const;
QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const;
int lastPosition(QTextFrame* theWrappedObject) const;
QTextFrame* parentFrame(QTextFrame* theWrappedObject) const;
void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format);
};
#endif // PYTHONQTWRAPPER_QTEXTFRAME_H