##// 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_QUndoStack.cpp
109 lines | 2.7 KiB | text/x-c | CppLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QUndoStack.h"
#include <QVariant>
#include <qaction.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qundostack.h>
QUndoStack* PythonQtWrapper_QUndoStack::new_QUndoStack(QObject* parent)
{
return new QUndoStack(parent); }
void PythonQtWrapper_QUndoStack::beginMacro(QUndoStack* theWrappedObject, const QString& text)
{
theWrappedObject->beginMacro(text);
}
bool PythonQtWrapper_QUndoStack::canRedo(QUndoStack* theWrappedObject) const
{
return theWrappedObject->canRedo();
}
bool PythonQtWrapper_QUndoStack::canUndo(QUndoStack* theWrappedObject) const
{
return theWrappedObject->canUndo();
}
int PythonQtWrapper_QUndoStack::cleanIndex(QUndoStack* theWrappedObject) const
{
return theWrappedObject->cleanIndex();
}
void PythonQtWrapper_QUndoStack::clear(QUndoStack* theWrappedObject)
{
theWrappedObject->clear();
}
const QUndoCommand* PythonQtWrapper_QUndoStack::command(QUndoStack* theWrappedObject, int index) const
{
return theWrappedObject->command(index);
}
int PythonQtWrapper_QUndoStack::count(QUndoStack* theWrappedObject) const
{
return theWrappedObject->count();
}
QAction* PythonQtWrapper_QUndoStack::createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const
{
return theWrappedObject->createRedoAction(parent, prefix);
}
QAction* PythonQtWrapper_QUndoStack::createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix) const
{
return theWrappedObject->createUndoAction(parent, prefix);
}
void PythonQtWrapper_QUndoStack::endMacro(QUndoStack* theWrappedObject)
{
theWrappedObject->endMacro();
}
int PythonQtWrapper_QUndoStack::index(QUndoStack* theWrappedObject) const
{
return theWrappedObject->index();
}
bool PythonQtWrapper_QUndoStack::isActive(QUndoStack* theWrappedObject) const
{
return theWrappedObject->isActive();
}
bool PythonQtWrapper_QUndoStack::isClean(QUndoStack* theWrappedObject) const
{
return theWrappedObject->isClean();
}
void PythonQtWrapper_QUndoStack::push(QUndoStack* theWrappedObject, QUndoCommand* cmd)
{
theWrappedObject->push(cmd);
}
QString PythonQtWrapper_QUndoStack::redoText(QUndoStack* theWrappedObject) const
{
return theWrappedObject->redoText();
}
void PythonQtWrapper_QUndoStack::setUndoLimit(QUndoStack* theWrappedObject, int limit)
{
theWrappedObject->setUndoLimit(limit);
}
QString PythonQtWrapper_QUndoStack::text(QUndoStack* theWrappedObject, int idx) const
{
return theWrappedObject->text(idx);
}
int PythonQtWrapper_QUndoStack::undoLimit(QUndoStack* theWrappedObject) const
{
return theWrappedObject->undoLimit();
}
QString PythonQtWrapper_QUndoStack::undoText(QUndoStack* theWrappedObject) const
{
return theWrappedObject->undoText();
}