libsolidcontrol
networkcdmainterface.cpp
Go to the documentation of this file.00001 /* Copyright 2008 Will Stephenson <wstephenson@kde.org> 00002 00003 This library is free software; you can redistribute it and/or 00004 modify it under the terms of the GNU Lesser General Public 00005 License as published by the Free Software Foundation; either 00006 version 2.1 of the License, or (at your option) version 3, or any 00007 later version accepted by the membership of KDE e.V. (or its 00008 successor approved by the membership of KDE e.V.), which shall 00009 act as a proxy defined in Section 6 of version 3 of the license. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU Lesser General Public 00017 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 #include "networkcdmainterface.h" 00021 #include "networkcdmainterface_p.h" 00022 00023 #include "frontendobject_p.h" 00024 #include "soliddefs_p.h" 00025 #include "ifaces/wirelessaccesspoint.h" 00026 00027 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(QObject *backendObject) 00028 : SerialNetworkInterface(*new CdmaNetworkInterfacePrivate(this), backendObject) 00029 { 00030 Q_D(CdmaNetworkInterface); 00031 d->setBackendObject(backendObject); 00032 makeConnections( backendObject ); 00033 } 00034 00035 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(const CdmaNetworkInterface &networkinterface) 00036 : SerialNetworkInterface(*new CdmaNetworkInterfacePrivate(this), networkinterface) 00037 { 00038 Q_D(CdmaNetworkInterface); 00039 d->setBackendObject(networkinterface.d_ptr->backendObject()); 00040 makeConnections( networkinterface.d_ptr->backendObject() ); 00041 } 00042 00043 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(CdmaNetworkInterfacePrivate &dd, QObject *backendObject) 00044 : SerialNetworkInterface(dd, backendObject) 00045 { 00046 makeConnections( backendObject ); 00047 } 00048 00049 Solid::Control::CdmaNetworkInterface::CdmaNetworkInterface(CdmaNetworkInterfacePrivate &dd, const CdmaNetworkInterface &networkinterface) 00050 : SerialNetworkInterface(dd, networkinterface.d_ptr->backendObject()) 00051 { 00052 makeConnections( networkinterface.d_ptr->backendObject() ); 00053 } 00054 00055 Solid::Control::CdmaNetworkInterface::~CdmaNetworkInterface() 00056 { 00057 } 00058 00059 Solid::Control::NetworkInterface::Type Solid::Control::CdmaNetworkInterface::type() const 00060 { 00061 return Cdma; 00062 } 00063 00064 void Solid::Control::CdmaNetworkInterface::makeConnections(QObject * source) 00065 { 00066 } 00067 00068 void Solid::Control::CdmaNetworkInterfacePrivate::setBackendObject(QObject *object) 00069 { 00070 SerialNetworkInterfacePrivate::setBackendObject(object); 00071 } 00072 00073 void Solid::Control::CdmaNetworkInterface::_k_destroyed(QObject *object) 00074 { 00075 Q_UNUSED(object); 00076 } 00077 // vim: sw=4 sts=4 et tw=100