2008-08-15 HÃ¥vard Wall <hwall@trolltech.com>
[WebKit-https.git] / WebKit / qt / WebCoreSupport / EditCommandQt.h
index dd7c85aef514618a1c361ca9a4b1f7aaca32cbaf..412c1e522e428964385e90397979e264ae71a82c 100644 (file)
 #ifndef EDITCOMMANDQT_H
 #define EDITCOMMANDQT_H
 
+class QUndoCommand;
 
 #include <QUndoCommand>
 #include <EditCommand.h>
 
-class EditCommandQt : public QUndoCommand {
+class EditCommandQt
+#ifndef QT_NO_UNDOCOMMAND
+    : public QUndoCommand
+#endif
+{
     public:
         EditCommandQt(WTF::RefPtr<WebCore::EditCommand> cmd, QUndoCommand *parent = 0);
         ~EditCommandQt();