API Documentation
Loading...
Searching...
No Matches
QTVibrationManager Class Reference

When supported, such as on Android/IOS, will vibrate the device. More...

#include <QTVibrationManager.h>

Inheritance diagram for QTVibrationManager:
[legend]
Collaboration diagram for QTVibrationManager:
[legend]

Public Slots

void requestVibrate (const TimeSpan &span=default_buzz_length.get())
 

Public Member Functions

bool enabled () const
 
 QTVibrationManager (QObject *parent=0)
 
 ~QTVibrationManager ()
 

Static Public Member Functions

static QTVibrationManagerDefaultInstance ()
 
static bool SystemSupportsVibrate ()
 

Static Public Attributes

static ApplicationOption< TimeSpandefault_buzz_length
 
static ApplicationOption< bool > global_vibrate
 

Detailed Description

When supported, such as on Android/IOS, will vibrate the device.


Constructor & Destructor Documentation

◆ QTVibrationManager()

QTVibrationManager ( QObject * parent = 0)
explicit

◆ ~QTVibrationManager()

Member Function Documentation

◆ DefaultInstance()

static QTVibrationManager & DefaultInstance ( )
static

◆ enabled()

bool enabled ( ) const

◆ requestVibrate

void requestVibrate ( const TimeSpan & span = default_buzz_length.get())
slot

◆ SystemSupportsVibrate()

static bool SystemSupportsVibrate ( )
static

Member Data Documentation

◆ default_buzz_length

ApplicationOption<TimeSpan> default_buzz_length
static

◆ global_vibrate

ApplicationOption<bool> global_vibrate
static

The documentation for this class was generated from the following file: