##// 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_QItemSelection.cpp
229 lines | 6.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QItemSelection.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qabstractitemmodel.h>
#include <qitemselectionmodel.h>
#include <qlist.h>
#include <qvector.h>
QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection()
{
return new QItemSelection(); }
QItemSelection* PythonQtWrapper_QItemSelection::new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight)
{
return new QItemSelection(topLeft, bottomRight); }
bool PythonQtWrapper_QItemSelection::removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t)
{
return ( theWrappedObject->removeOne(t));
}
bool PythonQtWrapper_QItemSelection::operator_equal(QItemSelection* theWrappedObject, const QList<QItemSelectionRange >& l) const
{
return ( (*theWrappedObject)== l);
}
void PythonQtWrapper_QItemSelection::prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t)
{
( theWrappedObject->prepend(t));
}
QList<QItemSelectionRange > PythonQtWrapper_QItemSelection::static_QItemSelection_fromVector(const QVector<QItemSelectionRange >& vector)
{
return (QItemSelection::fromVector(vector));
}
QVector<QItemSelectionRange > PythonQtWrapper_QItemSelection::toVector(QItemSelection* theWrappedObject) const
{
return ( theWrappedObject->toVector());
}
void PythonQtWrapper_QItemSelection::pop_back(QItemSelection* theWrappedObject)
{
( theWrappedObject->pop_back());
}
void PythonQtWrapper_QItemSelection::clear(QItemSelection* theWrappedObject)
{
( theWrappedObject->clear());
}
void PythonQtWrapper_QItemSelection::pop_front(QItemSelection* theWrappedObject)
{
( theWrappedObject->pop_front());
}
void PythonQtWrapper_QItemSelection::push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t)
{
( theWrappedObject->push_back(t));
}
int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject) const
{
return ( theWrappedObject->count());
}
int PythonQtWrapper_QItemSelection::removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t)
{
return ( theWrappedObject->removeAll(t));
}
void PythonQtWrapper_QItemSelection::merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command)
{
( theWrappedObject->merge(other, command));
}
const QItemSelectionRange* PythonQtWrapper_QItemSelection::last(QItemSelection* theWrappedObject) const
{
return &( theWrappedObject->last());
}
void PythonQtWrapper_QItemSelection::setSharable(QItemSelection* theWrappedObject, bool sharable)
{
( theWrappedObject->setSharable(sharable));
}
const QItemSelectionRange* PythonQtWrapper_QItemSelection::back(QItemSelection* theWrappedObject) const
{
return &( theWrappedObject->back());
}
int PythonQtWrapper_QItemSelection::indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const
{
return ( theWrappedObject->indexOf(t, from));
}
void PythonQtWrapper_QItemSelection::select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight)
{
( theWrappedObject->select(topLeft, bottomRight));
}
QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const
{
return ( theWrappedObject->value(i, defaultValue));
}
QItemSelectionRange PythonQtWrapper_QItemSelection::takeFirst(QItemSelection* theWrappedObject)
{
return ( theWrappedObject->takeFirst());
}
QItemSelectionRange PythonQtWrapper_QItemSelection::value(QItemSelection* theWrappedObject, int i) const
{
return ( theWrappedObject->value(i));
}
const QItemSelectionRange* PythonQtWrapper_QItemSelection::at(QItemSelection* theWrappedObject, int i) const
{
return &( theWrappedObject->at(i));
}
void PythonQtWrapper_QItemSelection::push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t)
{
( theWrappedObject->push_front(t));
}
const QItemSelectionRange* PythonQtWrapper_QItemSelection::first(QItemSelection* theWrappedObject) const
{
return &( theWrappedObject->first());
}
void PythonQtWrapper_QItemSelection::append(QItemSelection* theWrappedObject, const QItemSelectionRange& t)
{
( theWrappedObject->append(t));
}
bool PythonQtWrapper_QItemSelection::contains(QItemSelection* theWrappedObject, const QModelIndex& index) const
{
return ( theWrappedObject->contains(index));
}
int PythonQtWrapper_QItemSelection::count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const
{
return ( theWrappedObject->count(t));
}
bool PythonQtWrapper_QItemSelection::isEmpty(QItemSelection* theWrappedObject) const
{
return ( theWrappedObject->isEmpty());
}
bool PythonQtWrapper_QItemSelection::empty(QItemSelection* theWrappedObject) const
{
return ( theWrappedObject->empty());
}
QItemSelectionRange PythonQtWrapper_QItemSelection::takeAt(QItemSelection* theWrappedObject, int i)
{
return ( theWrappedObject->takeAt(i));
}
void PythonQtWrapper_QItemSelection::replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t)
{
( theWrappedObject->replace(i, t));
}
void PythonQtWrapper_QItemSelection::removeFirst(QItemSelection* theWrappedObject)
{
( theWrappedObject->removeFirst());
}
void PythonQtWrapper_QItemSelection::removeLast(QItemSelection* theWrappedObject)
{
( theWrappedObject->removeLast());
}
int PythonQtWrapper_QItemSelection::size(QItemSelection* theWrappedObject) const
{
return ( theWrappedObject->size());
}
void PythonQtWrapper_QItemSelection::removeAt(QItemSelection* theWrappedObject, int i)
{
( theWrappedObject->removeAt(i));
}
void PythonQtWrapper_QItemSelection::static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result)
{
(QItemSelection::split(range, other, result));
}
void PythonQtWrapper_QItemSelection::swap(QItemSelection* theWrappedObject, int i, int j)
{
( theWrappedObject->swap(i, j));
}
void PythonQtWrapper_QItemSelection::move(QItemSelection* theWrappedObject, int from, int to)
{
( theWrappedObject->move(from, to));
}
int PythonQtWrapper_QItemSelection::lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const
{
return ( theWrappedObject->lastIndexOf(t, from));
}
const QItemSelectionRange* PythonQtWrapper_QItemSelection::front(QItemSelection* theWrappedObject) const
{
return &( theWrappedObject->front());
}
QList<QModelIndex > PythonQtWrapper_QItemSelection::indexes(QItemSelection* theWrappedObject) const
{
return ( theWrappedObject->indexes());
}
QList<QItemSelectionRange > PythonQtWrapper_QItemSelection::mid(QItemSelection* theWrappedObject, int pos, int length) const
{
return ( theWrappedObject->mid(pos, length));
}
QItemSelectionRange PythonQtWrapper_QItemSelection::takeLast(QItemSelection* theWrappedObject)
{
return ( theWrappedObject->takeLast());
}