summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qwidgetlinecontrol_p.h
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>2011-09-30 16:50:10 +0300
committerQt by Nokia <qt-info@nokia.com>2011-10-06 22:42:33 +0200
commit8fb15f3a7540b0ef40ee15292e76a442889fed36 (patch)
tree66a94fa627b4c2156c40d58f174d88c5c2aade67 /src/widgets/widgets/qwidgetlinecontrol_p.h
parent2bf2bb3daf32935e3642447d40732998df819556 (diff)
Removed some dead code from QWidgetLineControl
There was a big processEvents() method which was actually getting called for a single type of events. Change-Id: I66ac70c7ac6e2f9136b24541d42a4185f8797583 Reviewed-on: http://codereview.qt-project.org/6132 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src/widgets/widgets/qwidgetlinecontrol_p.h')
-rw-r--r--src/widgets/widgets/qwidgetlinecontrol_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/widgets/widgets/qwidgetlinecontrol_p.h b/src/widgets/widgets/qwidgetlinecontrol_p.h
index 5fcb8527f0..4ffa9e4b31 100644
--- a/src/widgets/widgets/qwidgetlinecontrol_p.h
+++ b/src/widgets/widgets/qwidgetlinecontrol_p.h
@@ -308,7 +308,6 @@ public:
void setFont(const QFont &font) { m_textLayout.setFont(font); updateDisplayText(); }
void processInputMethodEvent(QInputMethodEvent *event);
- void processMouseEvent(QMouseEvent* ev);
void processKeyEvent(QKeyEvent* ev);
int cursorBlinkPeriod() const { return m_blinkPeriod; }
@@ -331,7 +330,9 @@ public:
};
void draw(QPainter *, const QPoint &, const QRect &, int flags = DrawAll);
- bool processEvent(QEvent *ev);
+#ifndef QT_NO_SHORTCUT
+ void processShortcutOverrideEvent(QKeyEvent *ke);
+#endif
QTextLayout *textLayout() const
{