| 1 |
// Copyright (C) 2023 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
#include "lib2.h" |
| 5 |
|
| 6 |
MyObject2::MyObject2(QObject *parent) |
| 7 |
: QObject(parent) |
| 8 |
{ |
| 9 |
} |
| 10 |
|
| 11 |
QString MyObject2::greeting() const |
| 12 |
{ |
| 13 |
return tr("Hello from MyObject2!"); |
| 14 |
} |