KIO
kstatusbarofflineindicator.h
Go to the documentation of this file.00001 /* This file is part of the KDE project 00002 Copyright (C) 2007 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. If not, write to the Free Software 00015 Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 Boston, MA 02110-1301, USA. 00017 00018 As a special exception, permission is given to link this library 00019 with any edition of Qt, and distribute the resulting executable, 00020 without including the source code for Qt in the source distribution. 00021 */ 00022 00023 #ifndef KDE_KSTATUSBAROFFLINEINDICATOR_H 00024 #define KDE_KSTATUSBAROFFLINEINDICATOR_H 00025 00026 #include <QtGui/QWidget> 00027 #include <kio/kio_export.h> 00028 #include <solid/networking.h> 00029 00030 class KStatusBarOfflineIndicatorPrivate; 00042 class KIO_EXPORT KStatusBarOfflineIndicator : public QWidget 00043 { 00044 Q_OBJECT 00045 public: 00050 explicit KStatusBarOfflineIndicator( QWidget * parent ); 00051 ~KStatusBarOfflineIndicator(); 00052 00053 private: 00054 KStatusBarOfflineIndicatorPrivate * const d; 00055 00056 Q_PRIVATE_SLOT( d, void _k_networkStatusChanged( Solid::Networking::Status ) ) 00057 }; 00058 00059 #endif 00060