##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QTextLength.cpp
44 lines | 1.1 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextLength.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();
}
QTextLength::Type PythonQtWrapper_QTextLength::type(QTextLength* theWrappedObject) const
{
return theWrappedObject->type();
}
qreal PythonQtWrapper_QTextLength::value(QTextLength* theWrappedObject, qreal maximumLength) const
{
return theWrappedObject->value(maximumLength);
}