PythonQtWrapper_QUndoGroup.h
35 lines
| 1.3 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QUNDOGROUP_H | ||
#define PYTHONQTWRAPPER_QUNDOGROUP_H | ||||
#include <qundogroup.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qaction.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qundogroup.h> | ||||
#include <qundostack.h> | ||||
class PythonQtWrapper_QUndoGroup : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QUndoGroup* new_QUndoGroup(QObject* parent = 0); | ||||
void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } | ||||
QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; | ||||
void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); | ||||
bool canRedo(QUndoGroup* theWrappedObject) const; | ||||
bool canUndo(QUndoGroup* theWrappedObject) const; | ||||
QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; | ||||
QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; | ||||
bool isClean(QUndoGroup* theWrappedObject) const; | ||||
QString redoText(QUndoGroup* theWrappedObject) const; | ||||
void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); | ||||
QList<QUndoStack* > stacks(QUndoGroup* theWrappedObject) const; | ||||
QString undoText(QUndoGroup* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QUNDOGROUP_H | ||||