summaryrefslogtreecommitdiff
path: root/src/widgets/itemviews/qabstractitemdelegate.h
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2011-12-15 17:43:48 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-19 10:42:26 +0100
commit7e12d2d30f74b5fe1f80fac7192416cf6eb22d4d (patch)
treea8ccae63ce9f8ba29ca77929ee19dbdc210a97fc /src/widgets/itemviews/qabstractitemdelegate.h
parentc023f5600a161e95a9077aba402a57aa2855cb07 (diff)
downloadqtbase-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.h9
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);