// Copyright (C) 2022 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only /*! \fn template auto qOverload(T functionPointer) \relates \since 5.7 Returns a pointer to an overloaded function. The template parameter is the list of the argument types of the function. \a functionPointer is the pointer to the (member) function: \snippet code/src_corelib_global_qglobal.cpp 52 If a member function is also const-overloaded \l qConstOverload and \l qNonConstOverload need to be used. \sa qConstOverload(), qNonConstOverload(), {Differences between String-Based and Functor-Based Connections} */ /*! \fn template auto qConstOverload(T memberFunctionPointer) \relates \since 5.7 Returns the \a memberFunctionPointer pointer to a constant member function: \snippet code/src_corelib_global_qglobal.cpp 54 \sa qOverload, qNonConstOverload, {Differences between String-Based and Functor-Based Connections} */ /*! \fn template auto qNonConstOverload(T memberFunctionPointer) \relates \since 5.7 Returns the \a memberFunctionPointer pointer to a non-constant member function: \snippet code/src_corelib_global_qglobal.cpp 54 \sa qOverload, qNonConstOverload, {Differences between String-Based and Functor-Based Connections} */