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