PythonQtWrapper_QTextLength.cpp
47 lines
| 1.3 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QTextLength.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
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
|
r73 | void PythonQtWrapper_QTextLength::writeTo(QTextLength* theWrappedObject, QDataStream& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | arg__1 << (*theWrappedObject); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QTextLength::operator_equal(QTextLength* theWrappedObject, const QTextLength& other) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( (*theWrappedObject)== other); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QTextLength::readFrom(QTextLength* theWrappedObject, QDataStream& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | arg__1 >> (*theWrappedObject); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | qreal PythonQtWrapper_QTextLength::rawValue(QTextLength* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->rawValue()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->value(maximumLength)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->type()); | ||
florianlink
|
r13 | } | ||