Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qabstracteventdispatcher_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QABSTRACTEVENTDISPATCHER_P_H
5#define QABSTRACTEVENTDISPATCHER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "QtCore/qabstracteventdispatcher.h"
19#include "QtCore/qnamespace.h"
20#include "private/qobject_p.h"
21#include "QtCore/qttypetraits.h"
22
24
26
28{
29 Q_DECLARE_PUBLIC(QAbstractEventDispatcher)
30public:
33
34 QList<QAbstractNativeEventFilter *> eventFilters;
35
36 bool isV2 = false;
37
38 static int allocateTimerId();
39 static void releaseTimerId(int id);
41 { releaseTimerId(qToUnderlying(id)); }
42
46 { return o->d_func(); }
47};
48
50
51#endif // QABSTRACTEVENTDISPATCHER_P_H
QList< QAbstractNativeEventFilter * > eventFilters
static void releaseTimerId(Qt::TimerId id)
static const QAbstractEventDispatcherPrivate * get(const QAbstractEventDispatcher *o)
static QAbstractEventDispatcherPrivate * get(QAbstractEventDispatcher *o)
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE Q_AUTOTEST_EXPORT qsizetype qGlobalPostedEventsCount()
#define Q_AUTOTEST_EXPORT
QT_BEGIN_NAMESPACE constexpr std::underlying_type_t< Enum > qToUnderlying(Enum e) noexcept
ptrdiff_t qsizetype
Definition qtypes.h:165