add more spacing
[personal-kdebase.git] / workspace / libs / solid / control / networkgsminterface.cpp
blob1c69b47032e99ccf8707d19e67b578a1b7f531d5
1 /*
2 Copyright 2008 Will Stephenson <wstephenson@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) version 3, or any
8 later version accepted by the membership of KDE e.V. (or its
9 successor approved by the membership of KDE e.V.), which shall
10 act as a proxy defined in Section 6 of version 3 of the license.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 #include "networkgsminterface.h"
22 #include "networkgsminterface_p.h"
24 #include "frontendobject_p.h"
25 #include "soliddefs_p.h"
26 #include "ifaces/wirelessaccesspoint.h"
28 Solid::Control::GsmNetworkInterface::GsmNetworkInterface(QObject *backendObject)
29 : SerialNetworkInterface(*new GsmNetworkInterfacePrivate(this), backendObject)
31 Q_D(GsmNetworkInterface);
32 d->setBackendObject(backendObject);
33 makeConnections( backendObject );
36 Solid::Control::GsmNetworkInterface::GsmNetworkInterface(const GsmNetworkInterface &networkinterface)
37 : SerialNetworkInterface(*new GsmNetworkInterfacePrivate(this), networkinterface)
39 Q_D(GsmNetworkInterface);
40 d->setBackendObject(networkinterface.d_ptr->backendObject());
41 makeConnections( networkinterface.d_ptr->backendObject() );
44 Solid::Control::GsmNetworkInterface::GsmNetworkInterface(GsmNetworkInterfacePrivate &dd, QObject *backendObject)
45 : SerialNetworkInterface(dd, backendObject)
47 makeConnections( backendObject );
50 Solid::Control::GsmNetworkInterface::GsmNetworkInterface(GsmNetworkInterfacePrivate &dd, const GsmNetworkInterface &networkinterface)
51 : SerialNetworkInterface(dd, networkinterface.d_ptr->backendObject())
53 makeConnections( networkinterface.d_ptr->backendObject() );
56 Solid::Control::GsmNetworkInterface::~GsmNetworkInterface()
60 Solid::Control::NetworkInterface::Type Solid::Control::GsmNetworkInterface::type() const
62 return Gsm;
65 void Solid::Control::GsmNetworkInterface::makeConnections(QObject * source)
69 void Solid::Control::GsmNetworkInterfacePrivate::setBackendObject(QObject *object)
71 SerialNetworkInterfacePrivate::setBackendObject(object);
74 void Solid::Control::GsmNetworkInterface::_k_destroyed(QObject *object)
76 Q_UNUSED(object);
78 // vim: sw=4 sts=4 et tw=100