diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-16 14:56:59 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-16 16:53:50 +0200 |
commit | ea7cc7f6f95030c38d86c4430ac8ee4386099d6b (patch) | |
tree | 1823a7f260b154e7e24a298313a467f57a24f657 /src/widgets/kernel/qwidget.h | |
parent | 09dd94091f88ca29b4f829b881fcedda4013e28d (diff) |
Remove deprecated members from QtWidgets/kernel classes
Cleaning up those that are trivial to remove because they have direct
replacements.
Change-Id: Ie8ac02c3d6273110f1f11e17fdeae496bc66321f
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.h')
-rw-r--r-- | src/widgets/kernel/qwidget.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/widgets/kernel/qwidget.h b/src/widgets/kernel/qwidget.h index 68a9b7ca9b..8ca75b67b0 100644 --- a/src/widgets/kernel/qwidget.h +++ b/src/widgets/kernel/qwidget.h @@ -238,10 +238,6 @@ public: bool isEnabled() const; bool isEnabledTo(const QWidget *) const; -#if QT_DEPRECATED_SINCE(5, 13) - QT_DEPRECATED_X ("Use isEnabled() instead") - bool isEnabledToTLW() const; -#endif public Q_SLOTS: void setEnabled(bool); @@ -527,10 +523,6 @@ public: void setContentsMargins(int left, int top, int right, int bottom); void setContentsMargins(const QMargins &margins); -#if QT_DEPRECATED_SINCE(5, 14) - QT_DEPRECATED_X("use contentsMargins()") - void getContentsMargins(int *left, int *top, int *right, int *bottom) const; -#endif QMargins contentsMargins() const; QRect contentsRect() const; @@ -782,11 +774,6 @@ inline bool QWidget::isEnabled() const inline bool QWidget::isModal() const { return data->window_modality != Qt::NonModal; } -#if QT_DEPRECATED_SINCE(5, 13) -inline bool QWidget::isEnabledToTLW() const -{ return isEnabled(); } -#endif - inline int QWidget::minimumWidth() const { return minimumSize().width(); } |