• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

SolidModules

networkserialinterface.cpp

Go to the documentation of this file.
00001 /*
00002 Copyright 2008 Will Stephenson <wstephenson@kde.org>
00003 
00004 This program is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU General Public License as
00006 published by the Free Software Foundation; either version 2 of
00007 the License or (at your option) version 3 or any later version
00008 accepted by the membership of KDE e.V. (or its successor approved
00009 by the membership of KDE e.V.), which shall act as a proxy 
00010 defined in Section 14 of version 3 of the license.
00011 
00012 This program 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
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 #include "networkserialinterface.h"
00022 #include "networkserialinterface_p.h"
00023 #include "manager.h"
00024 
00025 NMSerialNetworkInterfacePrivate::NMSerialNetworkInterfacePrivate(const QString & path, QObject * owner)
00026     : NMNetworkInterfacePrivate(path, owner), serialIface(NMNetworkManager::DBUS_SERVICE, path, QDBusConnection::systemBus())
00027 {
00028 }
00029 
00030 NMSerialNetworkInterface::NMSerialNetworkInterface(const QString & path, NMNetworkManager * manager, QObject * parent)
00031     : NMNetworkInterface(*new NMSerialNetworkInterfacePrivate(path, this), manager, parent)
00032 {
00033     initSerial();
00034 }
00035 
00036 void NMSerialNetworkInterface::initSerial()
00037 {
00038     Q_D(NMSerialNetworkInterface);
00039     connect( &d->serialIface, SIGNAL(PppStats(uint,uint)),
00040                 this, SIGNAL(pppStats(uint,uint)));
00041 }
00042 
00043 NMSerialNetworkInterface::NMSerialNetworkInterface(NMSerialNetworkInterfacePrivate & dd, NMNetworkManager * manager, QObject * parent) : NMNetworkInterface(dd, manager, parent)
00044 {
00045     Q_D(NMSerialNetworkInterface);
00046     d->manager = manager;
00047     initSerial();
00048 }
00049 
00050 NMSerialNetworkInterface::~NMSerialNetworkInterface()
00051 {
00052 
00053 }
00054 
00055 #include "networkserialinterface.moc"
00056 
00057 // vim: sw=4 sts=4 et tw=100

SolidModules

Skip menu "SolidModules"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal