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

SolidModules

wirednetworkinterface.h

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 #ifndef NM07_WIREDNETWORKINTERFACE_H
00022 #define NM07_WIREDNETWORKINTERFACE_H
00023 
00024 #include "networkinterface.h"
00025 #include "solid/control/ifaces/wirednetworkinterface.h"
00026 
00027 #include <KDebug>
00028 #include "dbus/generic-types.h"
00029 
00030 class NMNetworkManager;
00031 class NMWiredNetworkInterfacePrivate;
00032 
00033 class KDE_EXPORT NMWiredNetworkInterface : public NMNetworkInterface, virtual public Solid::Control::Ifaces::WiredNetworkInterface
00034 {
00035 Q_OBJECT
00036 Q_DECLARE_PRIVATE(NMWiredNetworkInterface)
00037 Q_INTERFACES(Solid::Control::Ifaces::WiredNetworkInterface)
00038 Q_PROPERTY(bool carrier READ carrier WRITE setCarrier NOTIFY carrierChanged)
00039 Q_PROPERTY(int bitRate READ bitRate WRITE setBitRate NOTIFY bitRateChanged)
00040 
00041 public:
00042     NMWiredNetworkInterface(const QString & path, NMNetworkManager * manager, QObject * parent);
00043     ~NMWiredNetworkInterface();
00044     QString hardwareAddress() const;
00045     int bitRate() const;
00046     void setBitRate(const QVariant&);
00047     bool carrier() const;
00048     void setCarrier(const QVariant&);
00049 protected Q_SLOTS:
00050     void wiredPropertiesChanged(const QVariantMap &);
00051 Q_SIGNALS:
00052     void bitRateChanged(int bitRate);
00053     void carrierChanged(bool plugged);
00054 };
00055 
00056 #endif // NM07_WIREDNETWORKINTERFACE_H
00057 

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
  •   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