##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QSourceLocation.cpp
58 lines | 1.6 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QSourceLocation.h"
#include <QVariant>
#include <qsourcelocation.h>
#include <qurl.h>
QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation()
{
return new QSourceLocation(); }
QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QSourceLocation& other)
{
return new QSourceLocation(other); }
QSourceLocation* PythonQtWrapper_QSourceLocation::new_QSourceLocation(const QUrl& uri, int line, int column)
{
return new QSourceLocation(uri, line, column); }
qint64 PythonQtWrapper_QSourceLocation::column(QSourceLocation* theWrappedObject) const
{
return theWrappedObject->column();
}
bool PythonQtWrapper_QSourceLocation::isNull(QSourceLocation* theWrappedObject) const
{
return theWrappedObject->isNull();
}
qint64 PythonQtWrapper_QSourceLocation::line(QSourceLocation* theWrappedObject) const
{
return theWrappedObject->line();
}
bool PythonQtWrapper_QSourceLocation::operator_equal(QSourceLocation* theWrappedObject, const QSourceLocation& other) const
{
return *theWrappedObject == other;
}
void PythonQtWrapper_QSourceLocation::setColumn(QSourceLocation* theWrappedObject, qint64 newColumn)
{
theWrappedObject->setColumn(newColumn);
}
void PythonQtWrapper_QSourceLocation::setLine(QSourceLocation* theWrappedObject, qint64 newLine)
{
theWrappedObject->setLine(newLine);
}
void PythonQtWrapper_QSourceLocation::setUri(QSourceLocation* theWrappedObject, const QUrl& newUri)
{
theWrappedObject->setUri(newUri);
}
QUrl PythonQtWrapper_QSourceLocation::uri(QSourceLocation* theWrappedObject) const
{
return theWrappedObject->uri();
}