20 #ifndef __COMMON_EVENT_H 21 #define __COMMON_EVENT_H 27 #include <QSharedData> 28 #include <QExplicitlySharedDataPointer> 71 inline uint
id()
const {
return mId; }
76 inline quint32
value()
const {
return mValue; }
97 QExplicitlySharedDataPointer<QSharedData> mData;
Event class for all the eVaf events.
uint id() const
Returns the event ID value.
Event(uint eventId, quint32 intValue=0, QSharedData *dataObj=0)
Creates the event object.
quint32 value() const
Returns the 32-bit integer value.
QSharedData * data() const
Returns the shared data object attached to the event.
static QEvent::Type const eVafEvent
Event type for eVaf events.