Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties

QShake Class Reference

List of all members.

Public Types

enum  Level { Low = 20, Medium = 30, High = 40, Step = 10 }
enum  Direction { All = 0, LeftRight = 1, UpDown = 2, PushPull = 3 }

Public Slots

void start ()
void stop ()

Signals

void shake (bool shaked)

Public Member Functions

 QShake (QObject *parent=0)
float sensitivity () const
void setSensitivity (float value)
QShake::Direction direction () const
void setDirection (QShake::Direction value)

Protected Member Functions

bool filter (QAccelerometerReading *reading)

Properties

float sensitivity
QShake::Direction direction

The documentation for this class was generated from the following files:
 All Classes