summaryrefslogtreecommitdiffstats
path: root/smb4k/browser/smb4knetworkbrowsertooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smb4k/browser/smb4knetworkbrowsertooltip.cpp')
-rw-r--r--smb4k/browser/smb4knetworkbrowsertooltip.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/smb4k/browser/smb4knetworkbrowsertooltip.cpp b/smb4k/browser/smb4knetworkbrowsertooltip.cpp
index c4c359c..30fea3c 100644
--- a/smb4k/browser/smb4knetworkbrowsertooltip.cpp
+++ b/smb4k/browser/smb4knetworkbrowsertooltip.cpp
@@ -267,7 +267,7 @@ void Smb4KNetworkBrowserToolTip::update()
{
case Smb4KNetworkBrowserItem::Workgroup:
{
- TQLabel *master_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "MasterBrowser", TQLABEL_OBJECT_NAME_STRING, true )) );
+ TQLabel *master_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "MasterBrowser", "TQLabel", true )) );
if ( master_label )
{
@@ -282,9 +282,9 @@ void Smb4KNetworkBrowserToolTip::update()
}
case Smb4KNetworkBrowserItem::Host:
{
- TQLabel *os_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "OSString", TQLABEL_OBJECT_NAME_STRING, true )) );
- TQLabel *server_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "ServerString", TQLABEL_OBJECT_NAME_STRING, true )) );
- TQLabel *ip_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "IPAddress", TQLABEL_OBJECT_NAME_STRING, true )) );
+ TQLabel *os_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "OSString", "TQLabel", true )) );
+ TQLabel *server_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "ServerString", "TQLabel", true )) );
+ TQLabel *ip_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "IPAddress", "TQLabel", true )) );
if ( os_label )
{
@@ -317,7 +317,7 @@ void Smb4KNetworkBrowserToolTip::update()
}
case Smb4KNetworkBrowserItem::Share:
{
- TQLabel *ip_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "IPAddress", TQLABEL_OBJECT_NAME_STRING, true )) );
+ TQLabel *ip_label = static_cast<TQLabel *>( TQT_TQWIDGET(child( "IPAddress", "TQLabel", true )) );
if ( ip_label )
{