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

#ifndef OLDSTYLE_CASTS_H
#define OLDSTYLE_CASTS_H
#include <QtCore/qobject.h>

class OldStyleCast: public QObject
{
    Q_OBJECT
public:


signals:

public slots:
    inline void foo() {}
    inline int bar(int, int*, const int *, volatile int *, const int * volatile *) { return 0; }
    inline void slot(int, QObject * const) {}
};

#endif // OLDSTYLE_CASTS_H