Files
qt-creator/tests/manual/cplusplus-tools/dummy.h
Lucie Gérard a7956df3ca Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.

Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2022-08-26 12:27:18 +00:00

51 lines
822 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <QString>
namespace test {
class Dummy
{
public:
Dummy();
Dummy(int a);
typedef int INT;
enum Values {
v1,
v2,
v3
};
static const int ONE = 1;
static const double PI;
static void sfunc();
struct Internal
{
QString one;
typedef double DOUBLE;
};
void bla(int);
void bla(const QString &);
void bla(const QString &) const;
void bla(int, const QString &) const;
void foo(int) const {}
void foo(const QString &) const {}
QString one;
};
class ChildDummy : public Dummy {};
class GrandChildDummy : public Dummy {};
} // namespace test