1/*
2 SPDX-FileCopyrightText: 2008, 2011 Will Stephenson <wstephenson@kde.org>
3 SPDX-FileCopyrightText: 2013 Jan Grulich <jgrulich@redhat.com>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7#ifndef NETWORKMANAGERQT_MODEMDEVICE_P_H
8#define NETWORKMANAGERQT_MODEMDEVICE_P_H
9
10#include "dbus/modemdeviceinterface.h"
11#include "device_p.h"
12
13namespace NetworkManager
14{
15class ModemDevicePrivate : public DevicePrivate
16{
17 Q_OBJECT
18public:
19 explicit ModemDevicePrivate(const QString &path, ModemDevice *q);
20
21 void initModemProperties();
22
23 OrgFreedesktopNetworkManagerDeviceModemInterface modemIface;
24 NetworkManager::ModemDevice::Capabilities modemCapabilities;
25 NetworkManager::ModemDevice::Capabilities currentCapabilities;
26
27 Q_DECLARE_PUBLIC(ModemDevice)
28protected:
29 /**
30 * When subclassing make sure to call the parent class method
31 * if the property was not useful to your new class
32 */
33 void propertyChanged(const QString &property, const QVariant &value) override;
34};
35
36} // namespace NetworkManager
37
38#endif
39

source code of networkmanager-qt/src/modemdevice_p.h