Convert features.undostack to QT_CONFIG
Change-Id: I7fc3aa44625fc97b802def4954f88c091c53f876 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
61b47df391
commit
a4d190554a
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user