ModemManagerQt

interface.cpp
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#include "interface_p.h"
8
9ModemManager::InterfacePrivate::InterfacePrivate(const QString &path, Interface *q)
10 : uni(path)
11 , q_ptr(q)
12{
13}
14
15ModemManager::InterfacePrivate::~InterfacePrivate()
16{
17}
18
19ModemManager::Interface::Interface(const QString &path, QObject *parent)
20 : QObject(parent)
21 , d_ptr(new InterfacePrivate(path, this))
22{
23}
24
25ModemManager::Interface::Interface(InterfacePrivate &dd, QObject *parent)
26 : QObject(parent)
27 , d_ptr(&dd)
28{
29}
30
31ModemManager::Interface::~Interface()
32{
33 delete d_ptr;
34}
35
36QString ModemManager::Interface::uni() const
37{
38 Q_D(const Interface);
39 return d->uni;
40}
41
42void ModemManager::InterfacePrivate::onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps)
43{
44 Q_UNUSED(interface)
45 Q_UNUSED(properties)
46 Q_UNUSED(invalidatedProps)
47}
48
49#include "moc_interface.cpp"
50#include "moc_interface_p.cpp"
QString path(const QString &relativePath)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:17:51 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.