qt6windows7/tests/auto/tools/moc/trigraphs.h

30 lines
682 B
C
Raw Normal View History

2023-10-30 06:33:08 +08:00
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef TRIGRAPHS_H
#define TRIGRAPHS_H
#include <QObject>
namespace AAA {
struct BaseA {};
}
namespace BBB {
class Foo : public QObject, public ::AAA::BaseA
{
Q_OBJECT
Q_SIGNALS:
// don't turn "> >" into ">>"
void foo(QList<QList<int> >);
void foo2(const QList<QList<int> > &);
// don't turn "< :" into "<:"
void bar(QList< ::AAA::BaseA*>);
void bar2(const QList< ::AAA::BaseA*> &);
void bar3(QList< ::AAA::BaseA const*>);
};
}
#endif // TRIGRAPHS_H