CopperSpice API  1.7.2
QInputEvent Class Reference

The QInputEvent class is the base class for events that describe user input. More...

Inheritance diagram for QInputEvent:
QEvent QContextMenuEvent QHoverEvent QKeyEvent QMouseEvent QNativeGestureEvent QTabletEvent QTouchEvent QWheelEvent

Public Methods

Qt::KeyboardModifiers modifiers () const
 
void setModifiers (Qt::KeyboardModifiers amodifiers)
 
void setTimestamp (ulong atimestamp)
 
ulong timestamp () const
 
- Public Methods inherited from QEvent
 QEvent (const QEvent &other)
 
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
QEvent & operator= (const QEvent &other)
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Additional Inherited Members

- Public Types inherited from QEvent
enum  Type
 
- Static Public Methods inherited from QEvent
static int registerEventType (int hint=-1)
 

Detailed Description

The QInputEvent class is the base class for events that describe user input.

See also
QApplication::keyboardModifiers()

Method Documentation

Qt::KeyboardModifiers QInputEvent::modifiers ( ) const
inline

Returns the keyboard modifier flags that existed immediately before the event occurred.

See also
QApplication::keyboardModifiers()
void QInputEvent::setModifiers ( Qt::KeyboardModifiers  amodifiers)
inline

Property documentation pending.

void QInputEvent::setTimestamp ( ulong  atimestamp)
inline

Property documentation pending.

ulong QInputEvent::timestamp ( ) const
inline

Property documentation pending.