##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QUndoCommand.h
51 lines | 1.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QUNDOCOMMAND_H
#define PYTHONQTWRAPPER_QUNDOCOMMAND_H
#include <qundostack.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qundostack.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QUndoCommand : public QUndoCommand
{
public:
PythonQtShell_QUndoCommand(QUndoCommand* parent = 0):QUndoCommand(parent),_wrapper(NULL) {};
PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = 0):QUndoCommand(text, parent),_wrapper(NULL) {};
virtual int id() const;
virtual bool mergeWith(const QUndoCommand* other);
virtual void redo();
virtual void undo();
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand
{ public:
inline void promoted_undo() { QUndoCommand::undo(); }
inline bool promoted_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); }
inline void promoted_redo() { QUndoCommand::redo(); }
inline int promoted_id() const { return QUndoCommand::id(); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 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; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void undo(QUndoCommand* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setText(QUndoCommand* theWrappedObject, const QString& text);
QString text(QUndoCommand* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other);
void redo(QUndoCommand* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int childCount(QUndoCommand* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int id(QUndoCommand* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QUNDOCOMMAND_H