##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QSize.cpp
119 lines | 2.8 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QSize.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qdatastream.h>
#include <qsize.h>
QSize* PythonQtWrapper_QSize::new_QSize()
{
return new QSize(); }
QSize* PythonQtWrapper_QSize::new_QSize(int w, int h)
{
return new QSize(w, h); }
void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, int w, int h, Qt::AspectRatioMode mode)
{
( theWrappedObject->scale(w, h, mode));
}
int PythonQtWrapper_QSize::width(QSize* theWrappedObject) const
{
return ( theWrappedObject->width());
}
void PythonQtWrapper_QSize::readFrom(QSize* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
bool PythonQtWrapper_QSize::isEmpty(QSize* theWrappedObject) const
{
return ( theWrappedObject->isEmpty());
}
bool PythonQtWrapper_QSize::operator_equal(QSize* theWrappedObject, const QSize& s2)
{
return ( (*theWrappedObject)== s2);
}
void PythonQtWrapper_QSize::transpose(QSize* theWrappedObject)
{
( theWrappedObject->transpose());
}
int PythonQtWrapper_QSize::height(QSize* theWrappedObject) const
{
return ( theWrappedObject->height());
}
bool PythonQtWrapper_QSize::isNull(QSize* theWrappedObject) const
{
return ( theWrappedObject->isNull());
}
QSize* PythonQtWrapper_QSize::operator_subtract_assign(QSize* theWrappedObject, const QSize& arg__1)
{
return &( (*theWrappedObject)-= arg__1);
}
bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}
QSize PythonQtWrapper_QSize::expandedTo(QSize* theWrappedObject, const QSize& arg__1) const
{
return ( theWrappedObject->expandedTo(arg__1));
}
QSize* PythonQtWrapper_QSize::operator_add_assign(QSize* theWrappedObject, const QSize& arg__1)
{
return &( (*theWrappedObject)+= arg__1);
}
void PythonQtWrapper_QSize::writeTo(QSize* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
QSize* PythonQtWrapper_QSize::operator_multiply_assign(QSize* theWrappedObject, qreal c)
{
return &( (*theWrappedObject)*= c);
}
QSize* PythonQtWrapper_QSize::operator_divide_assign(QSize* theWrappedObject, qreal c)
{
return &( (*theWrappedObject)/= c);
}
QSize PythonQtWrapper_QSize::boundedTo(QSize* theWrappedObject, const QSize& arg__1) const
{
return ( theWrappedObject->boundedTo(arg__1));
}
void PythonQtWrapper_QSize::setHeight(QSize* theWrappedObject, int h)
{
( theWrappedObject->setHeight(h));
}
void PythonQtWrapper_QSize::setWidth(QSize* theWrappedObject, int w)
{
( theWrappedObject->setWidth(w));
}
void PythonQtWrapper_QSize::scale(QSize* theWrappedObject, const QSize& s, Qt::AspectRatioMode mode)
{
( theWrappedObject->scale(s, mode));
}
QString PythonQtWrapper_QSize::toString(QSize* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}