remove unused and internal QAbstractItemView virtual slots

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-04-08 04:27:28 +00:00
parent 4d24ff078b
commit 1d4a10cbac
4 changed files with 0 additions and 32 deletions

View file

@ -112,10 +112,6 @@ void QAbstractItemViewPrivate::init()
vbar->setRange(0, 0); vbar->setRange(0, 0);
hbar->setRange(0, 0); hbar->setRange(0, 0);
QObject::connect(vbar, SIGNAL(actionTriggered(int)),
q, SLOT(verticalScrollbarAction(int)));
QObject::connect(hbar, SIGNAL(actionTriggered(int)),
q, SLOT(horizontalScrollbarAction(int)));
QObject::connect(vbar, SIGNAL(valueChanged(int)), QObject::connect(vbar, SIGNAL(valueChanged(int)),
q, SLOT(verticalScrollbarValueChanged(int))); q, SLOT(verticalScrollbarValueChanged(int)));
QObject::connect(hbar, SIGNAL(valueChanged(int)), QObject::connect(hbar, SIGNAL(valueChanged(int)),
@ -2515,22 +2511,6 @@ void QAbstractItemView::horizontalScrollbarValueChanged(int value)
d->checkMouseMove(posInVp); d->checkMouseMove(posInVp);
} }
/*!
\internal
*/
void QAbstractItemView::verticalScrollbarAction(int)
{
//do nothing
}
/*!
\internal
*/
void QAbstractItemView::horizontalScrollbarAction(int)
{
//do nothing
}
/*! /*!
Closes the given \a editor, and releases it. The \a hint is Closes the given \a editor, and releases it. The \a hint is
used to specify how the view should respond to the end of the editing used to specify how the view should respond to the end of the editing

View file

@ -238,8 +238,6 @@ protected Q_SLOTS:
virtual void updateEditorData(); virtual void updateEditorData();
virtual void updateEditorGeometries(); virtual void updateEditorGeometries();
virtual void updateGeometries(); virtual void updateGeometries();
virtual void verticalScrollbarAction(int action);
virtual void horizontalScrollbarAction(int action);
virtual void verticalScrollbarValueChanged(int value); virtual void verticalScrollbarValueChanged(int value);
virtual void horizontalScrollbarValueChanged(int value); virtual void horizontalScrollbarValueChanged(int value);
virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint); virtual void closeEditor(QWidget *editor, QAbstractItemDelegate::EndEditHint hint);

View file

@ -2779,14 +2779,6 @@ int QTreeView::rowHeight(const QModelIndex &index) const
return d->itemHeight(i); return d->itemHeight(i);
} }
/*!
\internal
*/
void QTreeView::horizontalScrollbarAction(int action)
{
QAbstractItemView::horizontalScrollbarAction(action);
}
/*! /*!
\reimp \reimp
*/ */

View file

@ -201,8 +201,6 @@ protected:
int indexRowSizeHint(const QModelIndex &index) const; int indexRowSizeHint(const QModelIndex &index) const;
int rowHeight(const QModelIndex &index) const; int rowHeight(const QModelIndex &index) const;
void horizontalScrollbarAction(int action);
bool isIndexHidden(const QModelIndex &index) const; bool isIndexHidden(const QModelIndex &index) const;
void selectionChanged(const QItemSelection &selected, void selectionChanged(const QItemSelection &selected,
const QItemSelection &deselected); const QItemSelection &deselected);