Convert features.undostack to QT_CONFIG

Change-Id: I7fc3aa44625fc97b802def4954f88c091c53f876
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Stephan Binner 2017-06-25 09:31:35 +02:00
parent 61b47df391
commit a4d190554a
3 changed files with 6 additions and 7 deletions

View File

@ -344,7 +344,7 @@ const QUndoCommand *QUndoCommand::child(int index) const
#endif // QT_NO_UNDOCOMMAND
#ifndef QT_NO_UNDOSTACK
#if QT_CONFIG(undostack)
/*!
\class QUndoStack
@ -1334,4 +1334,4 @@ QT_END_NAMESPACE
#include "moc_qundostack.cpp"
#include "moc_qundostack_p.cpp"
#endif // QT_NO_UNDOSTACK
#endif // QT_CONFIG(undostack)

View File

@ -85,7 +85,7 @@ private:
#endif // QT_NO_UNDOCOMMAND
#ifndef QT_NO_UNDOSTACK
#if QT_CONFIG(undostack)
class Q_WIDGETS_EXPORT QUndoStack : public QObject
{
@ -150,7 +150,7 @@ private:
friend class QUndoGroup;
};
#endif // QT_NO_UNDOSTACK
#endif // QT_CONFIG(undostack)
QT_END_NAMESPACE

View File

@ -74,7 +74,7 @@ public:
bool obsolete;
};
#ifndef QT_NO_UNDOSTACK
#if QT_CONFIG(undostack)
class QUndoStackPrivate : public QObjectPrivate
{
@ -108,7 +108,6 @@ private:
};
#endif // QT_NO_ACTION
QT_END_NAMESPACE
#endif // QT_NO_UNDOSTACK
#endif // QT_CONFIG(undostack)
#endif // QUNDOSTACK_P_H