Hi to everybody,

I'm trying to simulate QTouchEvents by creating myself TouchPoints. I was wondering how I can set them primary, since isPrimary() exists, but setPrimary() does not exist.

isPrimary() is not even virtual so I think I cannot try to subclass the TouchPoint class and reimplement it.

I was also wondering why the QTouchEvent::TouchPoint constructors are not published in the docs also if they exist.

Qt Code:
  1. /usr/include/qt4/QtGui/qevent.h:739: note: candidates are: QTouchEvent::TouchPoint::TouchPoint(const QTouchEvent::TouchPoint&)
  2. /usr/include/qt4/QtGui/qevent.h:738: note: QTouchEvent::TouchPoint::TouchPoint(int)
To copy to clipboard, switch view to plain text mode 

Has anybody any idea?

Thanks in advance.

Elindros