summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qtouchdevice_p.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-07-22 09:20:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-22 10:07:38 +0200
commit29fda24ca8abdf7179139f1f7f74f9147edddfac (patch)
treea98993031cef08348c1619285eff73f4925d8f04 /src/gui/kernel/qtouchdevice_p.h
parent16579e5b84ee3bc42b838e02b40f0b3f3262f2fb (diff)
added maximumTouchPoints to QTouchDevice
This was missing information which the driver can provide. Change-Id: I2574745635d6fdf608bc5617999aec46d9312c09 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/gui/kernel/qtouchdevice_p.h')
-rw-r--r--src/gui/kernel/qtouchdevice_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/kernel/qtouchdevice_p.h b/src/gui/kernel/qtouchdevice_p.h
index 435f8a5c37..fb87f49736 100644
--- a/src/gui/kernel/qtouchdevice_p.h
+++ b/src/gui/kernel/qtouchdevice_p.h
@@ -64,12 +64,14 @@ class QTouchDevicePrivate
public:
QTouchDevicePrivate()
: type(QTouchDevice::TouchScreen),
- caps(QTouchDevice::Position)
+ caps(QTouchDevice::Position),
+ maxTouchPoints(1)
{ }
QTouchDevice::DeviceType type;
QTouchDevice::Capabilities caps;
QString name;
+ int maxTouchPoints;
static void registerDevice(QTouchDevice *dev);
static bool isRegistered(QTouchDevice *dev);