ModemManagerQt

fakemodem/modemsimple.h
1/*
2 SPDX-FileCopyrightText: 2015 Jan Grulich <jgrulich@redhat.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef MODEMMANAGERQT_FAKE_MODEM_MODEM_SIMPLE_H
8#define MODEMMANAGERQT_FAKE_MODEM_MODEM_SIMPLE_H
9
10#include "generictypes.h"
11
12#include <QDBusAbstractAdaptor>
13#include <QDBusObjectPath>
14
15class ModemSimple : public QDBusAbstractAdaptor
16{
18 Q_CLASSINFO("D-Bus Interface", "org.kde.fakemodem.Modem.Simple")
19public:
20 explicit ModemSimple(QObject *parent = nullptr);
21 ~ModemSimple() override;
22
23public Q_SLOTS:
24 Q_SCRIPTABLE QDBusObjectPath Connect(const QVariantMap &properties);
25 Q_SCRIPTABLE void Disconnect(const QDBusObjectPath &bearer);
26 Q_SCRIPTABLE QVariantMap GetStatus();
27};
28
29#endif
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.