From 87b428e010e73da347eb065f6575820f15a792b8 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 22 May 2024 12:01:59 +0300 Subject: [PATCH] plasma: remove compat Plasma::ScrollWidget::nativeWidget() method it used to proxy some widget once I guess Signed-off-by: Ivailo Monev --- plasma/widgets/scrollwidget.cpp | 5 ----- plasma/widgets/scrollwidget.h | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/plasma/widgets/scrollwidget.cpp b/plasma/widgets/scrollwidget.cpp index bbb82a6d..9cf04e3f 100644 --- a/plasma/widgets/scrollwidget.cpp +++ b/plasma/widgets/scrollwidget.cpp @@ -1175,11 +1175,6 @@ QSizeF ScrollWidget::snapSize() const return d->snapSize; } -QWidget *ScrollWidget::nativeWidget() const -{ - return 0; -} - void ScrollWidget::focusInEvent(QFocusEvent *event) { Q_UNUSED(event) diff --git a/plasma/widgets/scrollwidget.h b/plasma/widgets/scrollwidget.h index 2af70b13..a94c499d 100644 --- a/plasma/widgets/scrollwidget.h +++ b/plasma/widgets/scrollwidget.h @@ -190,7 +190,7 @@ public: QPointF scrollPosition() const; /** - * Set the nap size of the kinetic scrolling: + * Set the snap size of the kinetic scrolling: * the scrolling will always stop at multiples of that size. * * @param the desired snap size @@ -204,11 +204,6 @@ public: */ QSizeF snapSize() const; - /** - * @return the native widget wrapped by this ScrollWidget - */ - QWidget *nativeWidget() const; - Q_SIGNALS: /** * The widget started or stopped an animated scroll