Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qdbusserver.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// Copyright (C) 2016 Intel Corporation.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4#ifndef QDBUSSERVER_H
5#define QDBUSSERVER_H
6
7#include <QtDBus/qtdbusglobal.h>
8#include <QtCore/qobject.h>
9#include <QtCore/qstring.h>
10
11#ifndef QT_NO_DBUS
12
14
15
17class QDBusError;
18class QDBusConnection;
19
20class Q_DBUS_EXPORT QDBusServer: public QObject
21{
23public:
24 explicit QDBusServer(const QString &address, QObject *parent = nullptr);
25 explicit QDBusServer(QObject *parent = nullptr);
26 virtual ~QDBusServer();
27
28 bool isConnected() const;
29 QDBusError lastError() const;
30 QString address() const;
31
32 void setAnonymousAuthenticationAllowed(bool value);
33 bool isAnonymousAuthenticationAllowed() const;
34
37
38private:
39 Q_DISABLE_COPY(QDBusServer)
42};
43
45
46#endif // QT_NO_DBUS
47#endif
\inmodule QtDBus
\inmodule QtDBus
Definition qdbuserror.h:21
\inmodule QtDBus
Definition qdbusserver.h:21
void newConnection(const QDBusConnection &connection)
This signal is emitted when a new client connection connection is established to the server.
\inmodule QtCore
Definition qobject.h:103
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
DBusConnection * connection
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint GLuint64EXT address
#define Q_OBJECT
#define Q_SIGNALS