##// 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.h
27 lines | 987 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QUNDOCOMMAND_H
#define PYTHONQTWRAPPER_QUNDOCOMMAND_H
#include <qundostack.h>
#include <QObject>
#include <QVariant>
#include <qundostack.h>
class PythonQtWrapper_QUndoCommand : public QObject
{ Q_OBJECT
public:
public slots:
QUndoCommand* new_QUndoCommand(QUndoCommand* parent = 0);
QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = 0);
void delete_QUndoCommand(QUndoCommand* obj) { delete obj; }
const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const;
int childCount(QUndoCommand* theWrappedObject) const;
int id(QUndoCommand* theWrappedObject) const;
bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other);
void redo(QUndoCommand* theWrappedObject);
void setText(QUndoCommand* theWrappedObject, const QString& text);
QString text(QUndoCommand* theWrappedObject) const;
void undo(QUndoCommand* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QUNDOCOMMAND_H