From 3f73995a03c4b40e2648cb9af5d3e7ca393bf597 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 10 Mar 2020 15:40:56 +0100 Subject: Move undo framework out of Qt Widgets - Moves QUndo* classes (except QUndoView) from src/widgets/utils to src/gui/utils - Moves related auto tests from widgets to gui - Replaces QUndoAction with lambdas that do text prefixing [ChangeLog][Undo Framework] QUndo* classes (except QUndoView) were moved from Qt Widgets to Qt GUI. Done-with: volker.hilsheimer@qt.io Fixes: QTBUG-40040 Change-Id: I3bd8d4d32c64f8dee548f62159a1df2126da89d8 Reviewed-by: Lars Knoll Reviewed-by: Volker Hilsheimer --- src/tools/uic/qclass_lib_map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tools/uic') diff --git a/src/tools/uic/qclass_lib_map.h b/src/tools/uic/qclass_lib_map.h index e6b450cdea..456101c2e7 100644 --- a/src/tools/uic/qclass_lib_map.h +++ b/src/tools/uic/qclass_lib_map.h @@ -878,9 +878,9 @@ QT_CLASS_LIB(QDesktopServices, QtWidgets, qdesktopservices.h) QT_CLASS_LIB(QScroller, QtWidgets, qscroller.h) QT_CLASS_LIB(QScrollerProperties, QtWidgets, qscrollerproperties.h) QT_CLASS_LIB(QSystemTrayIcon, QtGui, qsystemtrayicon.h) -QT_CLASS_LIB(QUndoGroup, QtWidgets, qundogroup.h) -QT_CLASS_LIB(QUndoCommand, QtWidgets, qundostack.h) -QT_CLASS_LIB(QUndoStack, QtWidgets, qundostack.h) +QT_CLASS_LIB(QUndoGroup, QtGui, qundogroup.h) +QT_CLASS_LIB(QUndoCommand, QtGui, qundostack.h) +QT_CLASS_LIB(QUndoStack, QtGui, qundostack.h) QT_CLASS_LIB(QUndoView, QtWidgets, qundoview.h) QT_CLASS_LIB(QAbstractButton, QtWidgets, qabstractbutton.h) QT_CLASS_LIB(QAbstractScrollArea, QtWidgets, qabstractscrollarea.h) -- cgit v1.2.3