File: qtscriptshell_QTabletEvent.cpp

package info (click to toggle)
musescore 1.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 143,984 kB
  • sloc: cpp: 372,648; xml: 148,276; ansic: 6,156; python: 2,197; perl: 710; sh: 534; makefile: 230
file content (14 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "qtscriptshell_QTabletEvent.h"

#include <QtScript/QScriptEngine>
#include <QVariant>
#include <qpoint.h>

#define QTSCRIPT_IS_GENERATED_FUNCTION(fun) ((fun.data().toUInt32() & 0xFFFF0000) == 0xBABE0000)


QtScriptShell_QTabletEvent::QtScriptShell_QTabletEvent(QEvent::Type  t, const QPoint&  pos, const QPoint&  globalPos, const QPointF&  hiResGlobalPos, int  device, int  pointerType, qreal  pressure, int  xTilt, int  yTilt, qreal  tangentialPressure, qreal  rotation, int  z, Qt::KeyboardModifiers  keyState, qint64  uniqueID)
    : QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID) {}

QtScriptShell_QTabletEvent::~QtScriptShell_QTabletEvent() {}