##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QTextLength.cpp
47 lines | 1.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextLength.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qdatastream.h>
#include <qtextformat.h>
QTextLength* PythonQtWrapper_QTextLength::new_QTextLength()
{
return new QTextLength(); }
QTextLength* PythonQtWrapper_QTextLength::new_QTextLength(QTextLength::Type type, qreal value)
{
return new QTextLength(type, value); }
void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
bool PythonQtWrapper_QTextLength::operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const
{
return ( (*theWrappedObject)== other);
}
void PythonQtWrapper_QTextLength::readFrom(QTextLength* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
qreal PythonQtWrapper_QTextLength::rawValue(QTextLength* theWrappedObject) const
{
return ( theWrappedObject->rawValue());
}
qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const
{
return ( theWrappedObject->value(maximumLength));
}
QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const
{
return ( theWrappedObject->type());
}