##// 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_QUndoCommand.cpp
53 lines | 1.3 KiB | text/x-c | CppLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QUndoCommand.h"
#include <QVariant>
#include <qundostack.h>
QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(QUndoCommand* parent)
{
return new QUndoCommand(parent); }
QUndoCommand* PythonQtWrapper_QUndoCommand::new_QUndoCommand(const QString& text, QUndoCommand* parent)
{
return new QUndoCommand(text, parent); }
const QUndoCommand* PythonQtWrapper_QUndoCommand::child(QUndoCommand* theWrappedObject, int index) const
{
return theWrappedObject->child(index);
}
int PythonQtWrapper_QUndoCommand::childCount(QUndoCommand* theWrappedObject) const
{
return theWrappedObject->childCount();
}
int PythonQtWrapper_QUndoCommand::id(QUndoCommand* theWrappedObject) const
{
return theWrappedObject->id();
}
bool PythonQtWrapper_QUndoCommand::mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other)
{
return theWrappedObject->mergeWith(other);
}
void PythonQtWrapper_QUndoCommand::redo(QUndoCommand* theWrappedObject)
{
theWrappedObject->redo();
}
void PythonQtWrapper_QUndoCommand::setText(QUndoCommand* theWrappedObject, const QString& text)
{
theWrappedObject->setText(text);
}
QString PythonQtWrapper_QUndoCommand::text(QUndoCommand* theWrappedObject) const
{
return theWrappedObject->text();
}
void PythonQtWrapper_QUndoCommand::undo(QUndoCommand* theWrappedObject)
{
theWrappedObject->undo();
}