#include <QtGui/qundostack.h>
#ifndef QUNDOSTACK_H
#ifndef QT_NO_UNDOCOMMAND
class QUndoCommand{
   /* Some contents are skipped to improve readability */
   public: class QString text() const
   /* ... */
};
#endif // QT_NO_UNDOCOMMAND
#endif // QUNDOSTACK_H