diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2011-12-15 17:43:48 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-19 10:42:26 +0100 |
commit | 7e12d2d30f74b5fe1f80fac7192416cf6eb22d4d (patch) | |
tree | a8ccae63ce9f8ba29ca77929ee19dbdc210a97fc /src/widgets/itemviews/qabstractitemdelegate.h | |
parent | c023f5600a161e95a9077aba402a57aa2855cb07 (diff) | |
download | qtbase-7e12d2d30f74b5fe1f80fac7192416cf6eb22d4d.tar.gz |
Change a slot into a virtual method.
Implements a BiC Qt5 TODO.
Change-Id: Ie7dc32d954335019166dbd78d8b01ef79e2ad5c2
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/itemviews/qabstractitemdelegate.h')
-rw-r--r-- | src/widgets/itemviews/qabstractitemdelegate.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/widgets/itemviews/qabstractitemdelegate.h b/src/widgets/itemviews/qabstractitemdelegate.h index f494f0b8c8..a4859f2ff0 100644 --- a/src/widgets/itemviews/qabstractitemdelegate.h +++ b/src/widgets/itemviews/qabstractitemdelegate.h @@ -108,11 +108,10 @@ public: static QString elidedText(const QFontMetrics &fontMetrics, int width, Qt::TextElideMode mode, const QString &text); -public Q_SLOTS: - bool helpEvent(QHelpEvent *event, - QAbstractItemView *view, - const QStyleOptionViewItem &option, - const QModelIndex &index); + virtual bool helpEvent(QHelpEvent *event, + QAbstractItemView *view, + const QStyleOptionViewItem &option, + const QModelIndex &index); Q_SIGNALS: void commitData(QWidget *editor); |