##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QTextLength.h
35 lines | 1.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTEXTLENGTH_H
#define PYTHONQTWRAPPER_QTEXTLENGTH_H
#include <qtextformat.h>
#include <QObject>
#include <PythonQt.h>
#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);
QTextLength* new_QTextLength(const QTextLength& other) {
QTextLength* a = new QTextLength();
*((QTextLength*)a) = other;
return a; }
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;
qreal value(QTextLength* theWrappedObject, qreal maximumLength) const;
QTextLength::Type type(QTextLength* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QTEXTLENGTH_H