mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-07 01:35:25 +08:00
qt 6.5.1 original
This commit is contained in:
29
tests/auto/tools/moc/trigraphs.h
Normal file
29
tests/auto/tools/moc/trigraphs.h
Normal file
@ -0,0 +1,29 @@
|
||||
// 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
|
Reference in New Issue
Block a user