Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qioseventdispatcher.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 QIOSEVENTDISPATCHER_H
5#define QIOSEVENTDISPATCHER_H
6
7#include <QtCore/private/qeventdispatcher_cf_p.h>
8
10
12{
14
15public:
17 bool processPostedEvents() override;
18
19protected:
20 explicit QIOSEventDispatcher(QObject *parent = nullptr);
21};
22
24{
26
27public:
29 bool processEvents(QEventLoop::ProcessEventsFlags flags) override;
30
31 // Public since we can't friend Objective-C methods
32 void handleRunLoopExit(CFRunLoopActivity activity);
33
35
36private:
37 uint m_processEventLevel;
39};
40
42
43#endif // QIOSEVENTDISPATCHER_H
bool processPostedEvents() override
Override of the CoreFoundation posted events runloop source callback so that we can send window syste...
static QIOSEventDispatcher * create()
bool processEvents(QEventLoop::ProcessEventsFlags flags) override
Processes pending events that match flags until there are no more events to process.
void handleRunLoopExit(CFRunLoopActivity activity)
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
Combined button and popup list for selecting options.
GLbitfield flags
#define Q_OBJECT
unsigned int uint
Definition qtypes.h:29
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent