summaryrefslogtreecommitdiff
path: root/tests/auto/tools/moc/trigraphs.h
blob: 106199d39ef1f6e28686bdded7c4c23e9f5525d8 (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 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