ModemManagerQt

interface.h
1/*
2 SPDX-FileCopyrightText: 2013-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_INTERFACE_H
8#define MODEMMANAGERQT_INTERFACE_H
9
10#include <modemmanagerqt_export.h>
11
12#include <QObject>
13#include <QSharedPointer>
14
15#include "generictypes.h"
16
17namespace ModemManager
18{
19class InterfacePrivate;
20
21class MODEMMANAGERQT_EXPORT Interface : public QObject
22{
23 Q_OBJECT
24 Q_DECLARE_PRIVATE(Interface)
25
26 Q_PROPERTY(QString uni READ uni)
27public:
28 typedef QSharedPointer<Interface> Ptr;
29 typedef QList<Ptr> List;
30
31 explicit Interface(const QString &path, QObject *parent = nullptr);
32 ~Interface() override;
33
34 QString uni() const;
35
36protected:
37 MODEMMANAGERQT_NO_EXPORT explicit Interface(InterfacePrivate &dd, QObject *parent = nullptr);
38
39protected:
40 InterfacePrivate *const d_ptr;
41};
42} // namespace ModemManager
43
44#endif
This namespace allows to query the underlying system to discover the available modem interfaces respo...
Definition bearer.cpp:20
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.