##// 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_QTextObject.h
26 lines | 679 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTOBJECT_H
#define PYTHONQTWRAPPER_QTEXTOBJECT_H
#include <qtextobject.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextobject.h>
class PythonQtWrapper_QTextObject : public QObject
{ Q_OBJECT
public:
public slots:
QTextDocument* document(QTextObject* theWrappedObject) const;
QTextFormat format(QTextObject* theWrappedObject) const;
int formatIndex(QTextObject* theWrappedObject) const;
int objectIndex(QTextObject* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTOBJECT_H