##// 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_QTextLength.h
29 lines | 1.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTLENGTH_H
#define PYTHONQTWRAPPER_QTEXTLENGTH_H
#include <qtextformat.h>
#include <QObject>
#include <QVariant>
#include <qdatastream.h>
#include <qtextformat.h>
class PythonQtWrapper_QTextLength : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Type )
enum Type{
VariableLength = QTextLength::VariableLength, FixedLength = QTextLength::FixedLength, PercentageLength = QTextLength::PercentageLength};
public slots:
QTextLength* new_QTextLength();
QTextLength* new_QTextLength(QTextLength::Type type, qreal value);
void delete_QTextLength(QTextLength* obj) { delete obj; }
void writeTo(QTextLength* theWrappedObject, QDataStream& arg__1);
bool operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const;
void readFrom(QTextLength* theWrappedObject, QDataStream& arg__1);
qreal rawValue(QTextLength* theWrappedObject) const;
QTextLength::Type type(QTextLength* theWrappedObject) const;
qreal value(QTextLength* theWrappedObject, qreal maximumLength) const;
};
#endif // PYTHONQTWRAPPER_QTEXTLENGTH_H