CopperSpice API  1.9.1
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 modifiers)
 
void setTimestamp (ulong timestamp)
 
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  modifiers)
inline

Sets the value of the property to modifiers.

void QInputEvent::setTimestamp ( ulong  timestamp)
inline

Sets the value of the property to timestamp.

ulong QInputEvent::timestamp ( ) const
inline

Returns the value of the property.