1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QDBUSABSTRACTADAPTOR_H
5#define QDBUSABSTRACTADAPTOR_H
6
7#include <QtDBus/qtdbusglobal.h>
8#include <QtCore/qobject.h>
9
10#ifndef QT_NO_DBUS
11
12QT_BEGIN_NAMESPACE
13
14
15class QDBusAbstractAdaptorPrivate;
16class Q_DBUS_EXPORT QDBusAbstractAdaptor: public QObject
17{
18 Q_OBJECT
19protected:
20 explicit QDBusAbstractAdaptor(QObject *parent);
21
22public:
23 ~QDBusAbstractAdaptor();
24
25protected:
26 void setAutoRelaySignals(bool enable);
27 bool autoRelaySignals() const;
28
29private:
30 Q_DECLARE_PRIVATE(QDBusAbstractAdaptor)
31};
32
33QT_END_NAMESPACE
34
35#endif // QT_NO_DBUS
36
37#endif
38

source code of qtbase/src/dbus/qdbusabstractadaptor.h