From 714409b23ce5ec33e56adce5ba1966aad67c3b34 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 16 Apr 2020 15:00:06 +0200 Subject: Remove deprecated members from QtWidgets/widgets classes Cleaning up those that are trivial to remove because they have direct replacements. The QLabel changes to the pixmap/picture getters provide the following migration path: QPixmap *ppix = l->pixmap(); // up to 5.15, warns in 5.15 QPixmap pval = l->pixmap(Qt::ReturnByValue); // new in 5.15, works in 6 QPixmap pixmap = l->pixmap(); // from Qt 6 on The overload with argument can be deprecated after the first LTS or so. Change-Id: I8494ceeea55b2aeda0bd340640ad95cb7c91f7d6 Reviewed-by: Qt CI Bot Reviewed-by: Shawn Rutledge --- src/widgets/widgets/qdockwidget.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/widgets/widgets/qdockwidget.cpp') diff --git a/src/widgets/widgets/qdockwidget.cpp b/src/widgets/widgets/qdockwidget.cpp index cfe17af6e9..102f370488 100644 --- a/src/widgets/widgets/qdockwidget.cpp +++ b/src/widgets/widgets/qdockwidget.cpp @@ -1240,11 +1240,6 @@ void QDockWidgetPrivate::setWindowState(bool floating, bool unplug, const QRect bar on its left side. This can be used to increase the amount of vertical space in a QMainWindow. - \value AllDockWidgetFeatures (Deprecated) The dock widget can be closed, moved, - and floated. Since new features might be added in future - releases, the look and behavior of dock widgets might - change if you use this flag. Please specify individual - flags instead. \value NoDockWidgetFeatures The dock widget cannot be closed, moved, or floated. -- cgit v1.2.3