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
qgenericunixeventdispatcher.cpp
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
#
include
"qgenericunixeventdispatcher_p.h"
5
#
include
"qunixeventdispatcher_qpa_p.h"
6
#
if
QT_CONFIG
(
glib
)
7
#
include
"qeventdispatcher_glib_p.h"
8
#
endif
9
QT_BEGIN_NAMESPACE
10
11
class
QAbstractEventDispatcher *
QtGenericUnixDispatcher
::createUnixEventDispatcher()
12
{
13
#
if
!
defined
(
QT_NO_GLIB
)
&&
!
defined
(
Q_OS_WIN
)
14
if
(qEnvironmentVariableIsEmpty(
"QT_NO_GLIB"
) && QEventDispatcherGlib::versionSupported())
15
return
new
QPAEventDispatcherGlib();
16
else
17
#
endif
18
return
new
QUnixEventDispatcherQPA();
19
}
20
21
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QtGenericUnixDispatcher
Definition
qgenericunixeventdispatcher_p.h:24
qtbase
src
gui
platform
unix
qgenericunixeventdispatcher.cpp
Generated on Mon Mar 10 2025 00:42:28 for Qt by
1.13.2