plasma: remove compat Plasma::ScrollWidget::nativeWidget() method

it used to proxy some widget once I guess

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-22 12:01:59 +03:00
parent ca3e34f47c
commit 87b428e010
2 changed files with 1 additions and 11 deletions

View file

@ -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)

View file

@ -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