not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / libs / solid / control / networkcdmainterface.cpp
blob8883378e75a1b2297bfb021d724d707762a4f276
1 /* Copyright 2008 Will Stephenson <wstephenson@kde.org>
3 This library is free software; you can redistribute it and/or
4 modify it under the terms of the GNU Lesser General Public
5 License as published by the Free Software Foundation; either
6 version 2.1 of the License, or (at your option) version 3, or any
7 later version accepted by the membership of KDE e.V. (or its
8 successor approved by the membership of KDE e.V.), which shall
9 act as a proxy defined in Section 6 of version 3 of the license.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 #include "networkcdmainterface.h"
21 #include "networkcdmainterface_p.h"
23 #include "frontendobject_p.h"
24 #include "soliddefs_p.h"
25 #include "ifaces/wirelessaccesspoint.h"
27 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(QObject *backendObject)
28 : SerialNetworkInterface(*new CdmaNetworkInterfacePrivate(this), backendObject)
30 Q_D(CdmaNetworkInterface);
31 d->setBackendObject(backendObject);
32 makeConnections( backendObject );
35 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(const CdmaNetworkInterface &networkinterface)
36 : SerialNetworkInterface(*new CdmaNetworkInterfacePrivate(this), networkinterface)
38 Q_D(CdmaNetworkInterface);
39 d->setBackendObject(networkinterface.d_ptr->backendObject());
40 makeConnections( networkinterface.d_ptr->backendObject() );
43 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(CdmaNetworkInterfacePrivate &dd, QObject *backendObject)
44 : SerialNetworkInterface(dd, backendObject)
46 makeConnections( backendObject );
49 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(CdmaNetworkInterfacePrivate &dd, const CdmaNetworkInterface &networkinterface)
50 : SerialNetworkInterface(dd, networkinterface.d_ptr->backendObject())
52 makeConnections( networkinterface.d_ptr->backendObject() );
55 Solid::Control::CdmaNetworkInterface::~CdmaNetworkInterface()
59 Solid::Control::NetworkInterface::Type Solid::Control::CdmaNetworkInterface::type() const
61 return Cdma;
64 void Solid::Control::CdmaNetworkInterface::makeConnections(QObject * source)
68 void Solid::Control::CdmaNetworkInterfacePrivate::setBackendObject(QObject *object)
70 SerialNetworkInterfacePrivate::setBackendObject(object);
73 void Solid::Control::CdmaNetworkInterface::_k_destroyed(QObject *object)
75 Q_UNUSED(object);
77 // vim: sw=4 sts=4 et tw=100