summaryrefslogtreecommitdiffstats
path: root/networkstatus/networkstatusindicator.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /networkstatus/networkstatusindicator.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'networkstatus/networkstatusindicator.cpp')
-rw-r--r--networkstatus/networkstatusindicator.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/networkstatus/networkstatusindicator.cpp b/networkstatus/networkstatusindicator.cpp
index 957d6f739..76888cfde 100644
--- a/networkstatus/networkstatusindicator.cpp
+++ b/networkstatus/networkstatusindicator.cpp
@@ -29,8 +29,8 @@
#include "networkstatusindicator.h"
-StatusBarNetworkStatusIndicator::StatusBarNetworkStatusIndicator(
- TQWidget * parent, const char * name ) : TQHBox( parent, name )/*, d( new StatusBarNetworkStatusIndicatorPrivate )*/
+StatusBarNetworktqStatusIndicator::StatusBarNetworktqStatusIndicator(
+ TQWidget * parent, const char * name ) : TQHBox( parent, name )/*, d( new StatusBarNetworktqStatusIndicatorPrivate )*/
{
setMargin( 2 );
setSpacing( 1 );
@@ -38,28 +38,28 @@ StatusBarNetworkStatusIndicator::StatusBarNetworkStatusIndicator(
label->setPixmap( SmallIcon("connect_no") );
TQToolTip::add( label, i18n( "The desktop is offline" ) );
- connect( ConnectionManager::self(), TQT_SIGNAL( statusChanged( const TQString &, NetworkStatus::EnumStatus ) ),
- TQT_SLOT( networkStatusChanged( const TQString &, NetworkStatus::EnumStatus) ) );
+ connect( ConnectionManager::self(), TQT_SIGNAL( statusChanged( const TQString &, NetworktqStatus::EnumtqStatus ) ),
+ TQT_SLOT( networktqStatusChanged( const TQString &, NetworktqStatus::EnumtqStatus) ) );
}
-void StatusBarNetworkStatusIndicator::init()
+void StatusBarNetworktqStatusIndicator::init()
{
- networkStatusChanged( ConnectionManager::self()->status(TQString("")));
+ networktqStatusChanged( ConnectionManager::self()->status(TQString("")));
}
-StatusBarNetworkStatusIndicator::~StatusBarNetworkStatusIndicator()
+StatusBarNetworktqStatusIndicator::~StatusBarNetworktqStatusIndicator()
{
}
-void StatusBarNetworkStatusIndicator::networkStatusChanged( const TQString & host, NetworkStatus::EnumStatus status )
+void StatusBarNetworktqStatusIndicator::networktqStatusChanged( const TQString & host, NetworktqStatus::EnumtqStatus status )
{
- networkStatusChanged(status);
+ networktqStatusChanged(status);
}
-void StatusBarNetworkStatusIndicator::networkStatusChanged( NetworkStatus::EnumStatus status )
+void StatusBarNetworktqStatusIndicator::networktqStatusChanged( NetworktqStatus::EnumtqStatus status )
{
- if ( status == NetworkStatus::Online || status == NetworkStatus::NoNetworks ) {
+ if ( status == NetworktqStatus::Online || status == NetworktqStatus::NoNetworks ) {
hide();
} else {
show();