##// 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
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QTextLength.h"
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #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); }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 arg__1 << (*theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 bool PythonQtWrapper_QTextLength::operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 return ( (*theWrappedObject)== other);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
upgraded wrappers to current generator version...
r28 void PythonQtWrapper_QTextLength::readFrom(QTextLength* theWrappedObject, QDataStream& arg__1)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 arg__1 >> (*theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 qreal PythonQtWrapper_QTextLength::rawValue(QTextLength* theWrappedObject) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 return ( theWrappedObject->rawValue());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 return ( theWrappedObject->value(maximumLength));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 return ( theWrappedObject->type());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }