From c8554ed8c29bbd676e1b48eb23c0ead827d8313f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 4 Sep 2010 22:59:53 +0000 Subject: * [Re]added status indicator and interface from SuSE git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1171725 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- networkstatus/networkstatusindicator.h | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 networkstatus/networkstatusindicator.h (limited to 'networkstatus/networkstatusindicator.h') diff --git a/networkstatus/networkstatusindicator.h b/networkstatus/networkstatusindicator.h new file mode 100644 index 000000000..4385f4c3f --- /dev/null +++ b/networkstatus/networkstatusindicator.h @@ -0,0 +1,42 @@ +/* This file is part of the KDE project + Copyright (C) 2007 Will Stephenson + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License version 2 as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library. If not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + + As a special exception, permission is given to link this library + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. +*/ + +#ifndef KDE_NETWORKSTATUS_INDICATOR_H +#define KDE_NETWORKSTATUS_INDICATOR_H + +#include +#include +#include + +class StatusBarNetworkStatusIndicator : public TQHBox +{ +Q_OBJECT +public: + StatusBarNetworkStatusIndicator( TQWidget * parent, const char * name ); + virtual ~StatusBarNetworkStatusIndicator(); + void init(); +protected slots: + void networkStatusChanged( NetworkStatus::EnumStatus status ); +}; + +#endif + -- cgit v1.2.3