290 :
d(0), t(type), posted(false), spont(false), m_accept(true)
401 = userEventRegistrationHelper();
402 if (!userEventRegistration)
408 if (hint >=
QEvent::User && hint <= QEvent::MaxUser && !userEventRegistration->
set.contains(hint)) {
579 QCustomEvent::QCustomEvent(
int type,
void *
data)
582 d =
reinterpret_cast<QEventPrivate *
>(
data);
587 QCustomEvent::~QCustomEvent()
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
QChildEvent(Type type, QObject *child)
Constructs a child event object of a particular type for the child.
QDynamicPropertyChangeEvent(const QByteArray &name)
Constructs a dynamic property change event object with the property name set to name.
The QByteArray class provides an array of bytes.
The QObject class is the base class of all Qt objects.
~QDynamicPropertyChangeEvent()
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool contains(const T &value) const
#define Q_GLOBAL_STATIC(TYPE, NAME)
Declares a global static variable with the given type and name.
const_iterator insert(const T &value)
static const char * data(const QByteArray &arr)
QEvent(Type type)
Contructs an event object of type type.
The QMutexLocker class is a convenience class that simplifies locking and unlocking mutexes...
Type
This enum type defines the valid event types in Qt.
static QCoreApplication * instance()
Returns a pointer to the application's QCoreApplication (or QApplication) instance.
static int registerEventType(int hint=-1)
Registers and returns a custom event type.
The Timer item triggers a handler at a specified interval.
The QEvent class is the base class of all event classes.
Type type() const
Returns the event type.
virtual ~QEvent()
Destroys the event.
static void removePostedEvent(QEvent *)
Removes event from the queue of posted events, and emits a warning message if appropriate.
QTimerEvent(int timerId)
Constructs a timer event object with the timer identifier set to timerId.