481338751b
We will need it in QML to determine which signal out of a number of "overloads" to generate handlers for. Task-number: QTBUG-108762 Change-Id: Ib73eeb59dbf037bd03faf0d841860d9ebc9e7032 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
17 lines
387 B
C++
17 lines
387 B
C++
// Copyright (C) 2022 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#ifndef SIGNAL_WITH_DEFAULT_ARG_H
|
|
#define SIGNAL_WITH_DEFAULT_ARG_H
|
|
|
|
#include <QtCore/qobject.h>
|
|
|
|
class SignalWithDefaultArg : public QObject
|
|
{
|
|
Q_OBJECT
|
|
signals:
|
|
void signalWithDefaultArg(int i = 12);
|
|
};
|
|
|
|
#endif // SIGNAL_WITH_DEFAULT_ARG_H
|