summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qtextedit_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-05 14:58:50 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-06 09:56:46 (GMT)
commit241e5cbe235953c60a6d8db2a8b6aacd909c2d28 (patch)
tree7690c795976fd6c5aada18d4ab69c25f9179ac67 /src/gui/widgets/qtextedit_p.h
parent1a97230e908193c9a260ae68635301c0e9f9f8de (diff)
downloadQt-241e5cbe235953c60a6d8db2a8b6aacd909c2d28.zip
Qt-241e5cbe235953c60a6d8db2a8b6aacd909c2d28.tar.gz
Qt-241e5cbe235953c60a6d8db2a8b6aacd909c2d28.tar.bz2
Enable pan gesture on all QAbstractScrollArea-based widgets.
Two-finger panning will work on all QAbstractScrollArea based widgets, however single-finger panning will be enabled only on some special widgets that always wants it - for example we don't want it on QGraphicsView, and we might want it on itemviews *sometimes*. Reviewed-by: trustme
Diffstat (limited to 'src/gui/widgets/qtextedit_p.h')
-rw-r--r--src/gui/widgets/qtextedit_p.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/widgets/qtextedit_p.h b/src/gui/widgets/qtextedit_p.h
index 249331e..3d14af6 100644
--- a/src/gui/widgets/qtextedit_p.h
+++ b/src/gui/widgets/qtextedit_p.h
@@ -70,7 +70,6 @@ QT_BEGIN_NAMESPACE
#ifndef QT_NO_TEXTEDIT
class QMimeData;
-class QPanGesture;
class QTextEditPrivate : public QAbstractScrollAreaPrivate
{
Q_DECLARE_PUBLIC(QTextEdit)
@@ -129,9 +128,6 @@ public:
QString anchorToScrollToWhenVisible;
- void _q_gestureTriggered();
- QPanGesture *panGesture;
-
#ifdef QT_KEYPAD_NAVIGATION
QBasicTimer deleteAllTimer;
#endif