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

libsolidcontrol

wirednetworkinterface.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE project
00002     Copyright (C) 2006 Will Stephenson <wstephenson@kde.org>
00003     Copyright (C) 2007 Kevin Ottens <ervin@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License version 2 as published by the Free Software Foundation.
00008 
00009     This library is distributed in the hope that it will be useful,
00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012     Library General Public License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to
00016     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017     Boston, MA 02110-1301, USA.
00018 
00019 */
00020 
00021 #ifndef SOLID_CONTROL_WIREDNETWORKINTERFACE_H
00022 #define SOLID_CONTROL_WIREDNETWORKINTERFACE_H
00023 
00024 #include "solid_control_export.h"
00025 
00026 #include "networkinterface.h"
00027 
00028 namespace Solid
00029 {
00030 namespace Control
00031 {
00032     class WiredNetworkInterfacePrivate;
00033 
00037     class SOLIDCONTROL_EXPORT WiredNetworkInterface : public NetworkInterface
00038     {
00039         Q_OBJECT
00040         Q_DECLARE_PRIVATE(WiredNetworkInterface)
00041 
00042     public:
00048         WiredNetworkInterface(QObject *backendObject = 0);
00049 
00055         WiredNetworkInterface(const WiredNetworkInterface &network);
00056 
00060         virtual ~WiredNetworkInterface();
00061 
00067         virtual NetworkInterface::Type type() const;
00068 
00072         QString hardwareAddress() const;
00073 
00079         int bitRate() const;
00080 
00086         bool carrier() const;
00087 
00088     Q_SIGNALS:
00094         void bitRateChanged(int bitRate);
00095 
00100         void carrierChanged(bool plugged);
00101     protected:
00105         WiredNetworkInterface(WiredNetworkInterfacePrivate &dd, QObject *backendObject);
00106 
00110         WiredNetworkInterface(WiredNetworkInterfacePrivate &dd, const WiredNetworkInterface &network);
00111 
00112     private Q_SLOTS:
00113         void _k_destroyed(QObject *object);
00114     private:
00115         friend class NetworkInterface;
00116         friend class NetworkInterfacePrivate;
00117     };
00118 } //Control
00119 } //Solid
00120 
00121 #endif //SOLID_CONTROL_WIREDNETWORKINTERFACE_H
00122 

libsolidcontrol

Skip menu "libsolidcontrol"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

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