Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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// Qt-Security score:significant reason:default
4
5#ifndef QABSTRACTEVENTDISPATCHER_P_H
6#define QABSTRACTEVENTDISPATCHER_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include "QtCore/qabstracteventdispatcher.h"
20#include "QtCore/qnamespace.h"
21#include "private/qobject_p.h"
22#include "QtCore/qttypetraits.h"
23
25
26Q_AUTOTEST_EXPORT qsizetype qGlobalPostedEventsCount();
27
28class Q_CORE_EXPORT QAbstractEventDispatcherPrivate : public QObjectPrivate
29{
30 Q_DECLARE_PUBLIC(QAbstractEventDispatcher)
31public:
32 QAbstractEventDispatcherPrivate();
33 ~QAbstractEventDispatcherPrivate() override;
34
35 QList<QAbstractNativeEventFilter *> eventFilters;
36
37 bool isV2 = false;
38
39 static Qt::TimerId allocateTimerId();
40 static void releaseTimerId(int id)
41 { releaseTimerId(Qt::TimerId{id}); }
42 static void releaseTimerId(Qt::TimerId id);
43
44 static QAbstractEventDispatcherPrivate *get(QAbstractEventDispatcher *o)
45 { return o->d_func(); }
46 static const QAbstractEventDispatcherPrivate *get(const QAbstractEventDispatcher *o)
47 { return o->d_func(); }
48};
49
50QT_END_NAMESPACE
51
52#endif // QABSTRACTEVENTDISPATCHER_P_H
Combined button and popup list for selecting options.
QFreeList< void, QtTimerIdFreeListConstants > QtTimerIdFreeList
static const int Sizes[BlockCount]