qt5base-lts/tests/auto/tools/moc/signal-with-default-arg.h
Ulf Hermann 481338751b moc: Output the "cloned" flag for methods
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>
2022-11-27 12:47:30 +01:00

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