Move the createUnixEventDispatcher() function to a namespace
Easier than renaming it with a "qt_" prefix everywhere it's used (it's in a lot of plugins). Change-Id: Ie01831ddac5446fdbdeefffd15468918f3bc2238 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>bb10
parent
d8d0325394
commit
98dda3f5ac
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QAbstractEventDispatcher *createUnixEventDispatcher()
|
||||
class QAbstractEventDispatcher *QtGenericUnixDispatcher::createUnixEventDispatcher()
|
||||
{
|
||||
#if !defined(QT_NO_GLIB) && !defined(Q_OS_WIN)
|
||||
if (qEnvironmentVariableIsEmpty("QT_NO_GLIB") && QEventDispatcherGlib::versionSupported())
|
||||
|
|
|
|||
|
|
@ -56,7 +56,10 @@
|
|||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QAbstractEventDispatcher;
|
||||
namespace QtGenericUnixDispatcher {
|
||||
QAbstractEventDispatcher* createUnixEventDispatcher();
|
||||
}
|
||||
using QtGenericUnixDispatcher::createUnixEventDispatcher;
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue