aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/i18n-non-qt-class/myclass.cpp
blob: b600d1e47854e06e86d753a6362c6c1095d7290c (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#include <iostream>
#include "myclass.h"

MyClass::MyClass()
{
    std::cout << tr("Hello Qt!\n").toLocal8Bit().constData();
}