##// 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_QItemSelectionRange.cpp
118 lines | 3.7 KiB | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QItemSelectionRange.cpp
#include "PythonQtWrapper_QItemSelectionRange.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qabstractitemmodel.h>
#include <qitemselectionmodel.h>
#include <qlist.h>
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange()
{
return new QItemSelectionRange(); }
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QItemSelectionRange& other)
{
return new QItemSelectionRange(other); }
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& index)
{
return new QItemSelectionRange(index); }
QItemSelectionRange* PythonQtWrapper_QItemSelectionRange::new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight)
{
return new QItemSelectionRange(topLeft, bottomRight); }
QItemSelectionRange PythonQtWrapper_QItemSelectionRange::intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const
{
return ( theWrappedObject->intersected(other));
}
int PythonQtWrapper_QItemSelectionRange::top(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->top());
}
bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const
{
return ( theWrappedObject->contains(row, column, parentIndex));
}
int PythonQtWrapper_QItemSelectionRange::height(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->height());
}
int PythonQtWrapper_QItemSelectionRange::right(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->right());
}
QModelIndex PythonQtWrapper_QItemSelectionRange::topLeft(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->topLeft());
}
QModelIndex PythonQtWrapper_QItemSelectionRange::bottomRight(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->bottomRight());
}
bool PythonQtWrapper_QItemSelectionRange::intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const
{
return ( theWrappedObject->intersects(other));
}
bool PythonQtWrapper_QItemSelectionRange::contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const
{
return ( theWrappedObject->contains(index));
}
int PythonQtWrapper_QItemSelectionRange::left(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->left());
}
int PythonQtWrapper_QItemSelectionRange::bottom(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->bottom());
}
bool PythonQtWrapper_QItemSelectionRange::operator_equal(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const
{
return ( (*theWrappedObject)== other);
}
QModelIndex PythonQtWrapper_QItemSelectionRange::parent(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->parent());
}
int PythonQtWrapper_QItemSelectionRange::width(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->width());
}
bool PythonQtWrapper_QItemSelectionRange::isValid(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}
QList<QModelIndex > PythonQtWrapper_QItemSelectionRange::indexes(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->indexes());
}
const QAbstractItemModel* PythonQtWrapper_QItemSelectionRange::model(QItemSelectionRange* theWrappedObject) const
{
return ( theWrappedObject->model());
}
QString PythonQtWrapper_QItemSelectionRange::toString(QItemSelectionRange* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}