#include <QtGui/qundostack.h>
#ifndef QUNDOSTACK_H
#ifndef QT_NO_UNDOSTACK
class QUndoStack: public QObject{
   public: virtual struct QMetaObject const * metaObject() const
   public: static struct QMetaObject const staticMetaObject;
   public: virtual void* qt_metacast(char const *);
   public: static inline class QString tr(char const * s, char const * c = 0);
   public: static inline class QString trUtf8(char const * s, char const * c = 0);
   public: static inline class QString tr(char const * s, char const * c, int n);
   public: static inline class QString trUtf8(char const * s, char const * c, int n);
   public: virtual int qt_metacall(enum QMetaObject::Call, int, void* *);
   private: inline struct QUndoStackPrivate* d_func();
   private: inline struct QUndoStackPrivate const * d_func() const
   public: explicit QUndoStack(class QObject* parent = 0);
   public: virtual ~QUndoStack();
   public: void clear();
   public: void push(class QUndoCommand* cmd);
   public: bool canUndo() const
   public: bool canRedo() const
   public: class QString undoText() const
   public: class QString redoText() const
   public: int count() const
   public: int index() const
   public: class QString text(int idx) const
#ifndef QT_NO_ACTION
   public: struct QAction* createUndoAction(class QObject* parent, class QString const & prefix = QString::QString()) const
   public: struct QAction* createRedoAction(class QObject* parent, class QString const & prefix = QString::QString()) const
#endif // QT_NO_ACTION
   public: bool isActive() const
   public: bool isClean() const
   public: int cleanIndex() const
   public: void beginMacro(class QString const & text);
   public: void endMacro();
   public: void setClean();
   public: void setIndex(int idx);
   public: void undo();
   public: void redo();
   public: void setActive(bool active = 1);
   protected: void indexChanged(int idx);
   protected: void cleanChanged(bool clean);
   protected: void canUndoChanged(bool canUndo);
   protected: void canRedoChanged(bool canRedo);
   protected: void undoTextChanged(class QString const & undoText);
   protected: void redoTextChanged(class QString const & redoText);
   private: QUndoStack(class QUndoStack const &);
   private: class QUndoStack& operator =(class QUndoStack const &);
   friend struct QUndoStackPrivate;
   friend struct QUndoGroup;
};
#endif // QT_NO_UNDOSTACK
#endif // QUNDOSTACK_H