• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Solid

networking_p.h

Go to the documentation of this file.
00001 /*
00002     Copyright 2006-2007 Will Stephenson <wstephenson@kde.org>
00003     Copyright 2006-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 Lesser General Public
00007     License as published by the Free Software Foundation; either
00008     version 2.1 of the License, or (at your option) version 3, or any
00009     later version accepted by the membership of KDE e.V. (or its
00010     successor approved by the membership of KDE e.V.), which shall
00011     act as a proxy defined in Section 6 of version 3 of the license.
00012 
00013     This library is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016     Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public
00019     License along with this library. If not, see <http://www.gnu.org/licenses/>.
00020 */
00021 #ifndef SOLID_NETWORKING_P_H
00022 #define SOLID_NETWORKING_P_H
00023 
00024 #include <QtCore/QMap>
00025 
00026 #include "networking.h"
00027 
00028 class OrgKdeSolidNetworkingClientInterface;
00029 class QAbstractSocket;
00030 class QTimer;
00031 
00032 
00033 namespace Solid
00034 {
00035     class ManagedSocketContainer;
00036 
00037     class NetworkingPrivate : public Networking::Notifier
00038     {
00039     Q_OBJECT
00040     Q_PROPERTY( uint Status  READ status )
00041     Q_CLASSINFO( "D-Bus Interface", "org.kde.Solid.Networking.Client" )
00042     public:
00043         NetworkingPrivate();
00044         ~NetworkingPrivate();
00045         void shouldConnect() { Networking::Notifier::shouldConnect(); }
00046         void shouldDisconnect() { Networking::Notifier::shouldDisconnect(); }
00047         Networking::Status netStatus;
00048         Networking::ManagementPolicy connectPolicy;
00049         Networking::ManagementPolicy disconnectPolicy;
00050     public Q_SLOTS:
00051         uint status() const;
00055         void serviceStatusChanged( uint status );
00060         void serviceOwnerChanged( const QString &, const QString &, const QString & );
00061     private:
00062         void initialize();
00063         OrgKdeSolidNetworkingClientInterface * iface;
00064     };
00065 } // namespace Solid
00066 #endif

Solid

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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