summaryrefslogtreecommitdiffstats
path: root/src/activeqt/container/qaxwidget_p.h
blob: 93ae73f7632d39b50e0478a98e389af3b24cafdc (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright (C) 2015 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef QAXWIDGET_P_H
#define QAXWIDGET_P_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

#include <QtAxContainer/qaxwidget.h>
#include <private/qwidget_p.h>
#include <private/qaxbase_p.h>

QT_BEGIN_NAMESPACE

class QAxClientSite;

class QAxWidgetPrivate : public QWidgetPrivate, public QAxBasePrivate
{
    Q_DECLARE_PUBLIC(QAxWidget)
public:
    void clear();

    QObject* qObject() const override;
    const char *className() const override;
    const QMetaObject *fallbackMetaObject() const override;
    const QMetaObject *parentMetaObject() const override;

    void emitException(int code, const QString &source, const QString &desc,
                       const QString &help) override;
    void emitPropertyChanged(const QString &name) override;
    void emitSignal(const QString &name, int argc, void *argv) override;

    QAxClientSite *container = nullptr;
};

QT_END_NAMESPACE

#endif // QAXWIDGET_P_H