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

libsolidcontrol

networkinterface.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 
00004     This library is free software; you can redistribute it and/or
00005     modify it under the terms of the GNU Library General Public
00006     License version 2 as published by the Free Software Foundation.
00007 
00008     This library is distributed in the hope that it will be useful,
00009     but WITHOUT ANY WARRANTY; without even the implied warranty of
00010     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011     Library General Public License for more details.
00012 
00013     You should have received a copy of the GNU Library General Public License
00014     along with this library; see the file COPYING.LIB.  If not, write to
00015     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016     Boston, MA 02110-1301, USA.
00017 
00018 */
00019 
00020 #ifndef SOLID_CONTROL_IFACES_NETWORKINTERFACE_H
00021 #define SOLID_CONTROL_IFACES_NETWORKINTERFACE_H
00022 
00023 #include "../solid_control_export.h"
00024 #include "../networkinterface.h"
00025 #include <QtCore/QObject>
00026 #include <QtCore/QList>
00027 
00028 namespace Solid
00029 {
00030 namespace Control
00031 {
00032 namespace Ifaces
00033 {
00040     class SOLIDCONTROLIFACES_EXPORT NetworkInterface
00041     {
00042     public:
00046         virtual ~NetworkInterface();
00047 
00054         virtual QString uni() const = 0;
00058         virtual QString interfaceName() const = 0;
00059 
00063         virtual QString driver() const = 0;
00064 
00068         virtual Solid::Control::IPv4Config ipV4Config() const = 0;
00069 
00075         virtual bool isActive() const = 0;
00084         virtual Solid::Control::NetworkInterface::ConnectionState connectionState() const = 0;
00091         virtual int designSpeed() const = 0;
00092 
00099         virtual Solid::Control::NetworkInterface::Capabilities capabilities() const = 0;
00100 
00101     protected:
00102     //Q_SIGNALS:
00106         virtual void ipDetailsChanged() = 0;
00107 
00115         virtual void connectionStateChanged(int state) = 0;
00116     };
00117 } //Ifaces
00118 } //Control
00119 } //Solid
00120 
00121 Q_DECLARE_INTERFACE(Solid::Control::Ifaces::NetworkInterface, "org.kde.Solid.Control.Ifaces.NetworkInterface/0.1")
00122 
00123 #endif

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
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
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