summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/trigraphs.h
blob: 6d0ce2cf69ccba0fe795fb2154c268a441357023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#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