diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:39 -0600 |
commit | 30cc1f3718654ea8ccd594073d47544680d11182 (patch) | |
tree | 9f0a173e07dd98755eee6dd8a1332171378f2076 /smb4k/browser | |
parent | f3a9c5ace2048794e4432ddc71401b41d3361e4b (diff) | |
download | smb4k-30cc1f3718654ea8ccd594073d47544680d11182.tar.gz smb4k-30cc1f3718654ea8ccd594073d47544680d11182.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f3a9c5ace2048794e4432ddc71401b41d3361e4b.
Diffstat (limited to 'smb4k/browser')
-rw-r--r-- | smb4k/browser/smb4knetworkbrowser_part.cpp | 12 | ||||
-rw-r--r-- | smb4k/browser/smb4knetworkbrowser_part.h | 2 | ||||
-rw-r--r-- | smb4k/browser/smb4knetworkbrowsertooltip.h | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/smb4k/browser/smb4knetworkbrowser_part.cpp b/smb4k/browser/smb4knetworkbrowser_part.cpp index 3ef0e6c..4d905a1 100644 --- a/smb4k/browser/smb4knetworkbrowser_part.cpp +++ b/smb4k/browser/smb4knetworkbrowser_part.cpp @@ -619,7 +619,7 @@ void Smb4KNetworkBrowserPart::slotItemCollapsed( TQListViewItem *item ) { Smb4KNetworkBrowserItem *browser_item = static_cast<Smb4KNetworkBrowserItem *>( item ); - // Remove all children if we have a host item, because we + // Remove all tqchildren if we have a host item, because we // do not want shares already displayed before the user provided // the login data. if ( browser_item && browser_item->type() == Smb4KNetworkBrowserItem::Host ) @@ -903,7 +903,7 @@ void Smb4KNetworkBrowserPart::slotWorkgroupMembers( const TQString &workgroup, c } else { - // Add the children to the childless host item: + // Add the tqchildren to the childless host item: for ( TQValueList<Smb4KHostItem *>::ConstIterator it = list.begin(); it != list.end(); ++it ) { // In case the whole list of known hosts is emitted by the scanner, @@ -1151,7 +1151,7 @@ void Smb4KNetworkBrowserPart::slotShares( const TQString &host, const TQValueLis } else { - // Add the children to the childless host item: + // Add the tqchildren to the childless host item: for ( TQValueList<Smb4KShareItem *>::ConstIterator it = list.begin(); it != list.end(); ++it ) { // Respect the settings the user chose to use: @@ -1331,7 +1331,7 @@ void Smb4KNetworkBrowserPart::slotInsertHost( Smb4KHostItem *item ) if ( workgroup_item ) { // Check if the host item is already there. We traverse - // workgroup's children for that: + // workgroup's tqchildren for that: Smb4KNetworkBrowserItem *host_item = static_cast<Smb4KNetworkBrowserItem *>( workgroup_item->firstChild() ); while ( host_item ) @@ -1676,7 +1676,7 @@ void Smb4KNetworkBrowserPart::slotUnmount() if ( browser_item && browser_item->type() == Smb4KNetworkBrowserItem::Share && browser_item->isMounted() ) { - TQString share_name = TQString( "//%1/%2" ).arg( browser_item->shareItem()->host(), + TQString share_name = TQString( "//%1/%2" ).tqarg( browser_item->shareItem()->host(), browser_item->shareItem()->name() ); TQValueList<Smb4KShare> list = Smb4KCore::mounter()->findShareByName( share_name ); @@ -1729,7 +1729,7 @@ void Smb4KNetworkBrowserPart::slotMarkMountedShares() { Smb4KShareItem *share_item = static_cast<Smb4KNetworkBrowserItem *>( item )->shareItem(); - TQValueList<Smb4KShare> list = Smb4KCore::mounter()->findShareByName( TQString( "//%1/%2" ).arg( share_item->host(), share_item->name() ) ); + TQValueList<Smb4KShare> list = Smb4KCore::mounter()->findShareByName( TQString( "//%1/%2" ).tqarg( share_item->host(), share_item->name() ) ); if ( list.isEmpty() ) { diff --git a/smb4k/browser/smb4knetworkbrowser_part.h b/smb4k/browser/smb4knetworkbrowser_part.h index 8b29f31..78cc7fb 100644 --- a/smb4k/browser/smb4knetworkbrowser_part.h +++ b/smb4k/browser/smb4knetworkbrowser_part.h @@ -185,7 +185,7 @@ class Smb4KNetworkBrowserPart : public KParts::Part /** * This slot receives the list of shared resources a host provides. It takes - * this @p list and inserts its items as children of @p host into the list + * this @p list and inserts its items as tqchildren of @p host into the list * view. Obsolete items will be deleted from the network browser. * * @param host The host where the shares belong diff --git a/smb4k/browser/smb4knetworkbrowsertooltip.h b/smb4k/browser/smb4knetworkbrowsertooltip.h index aea9f25..a389991 100644 --- a/smb4k/browser/smb4knetworkbrowsertooltip.h +++ b/smb4k/browser/smb4knetworkbrowsertooltip.h @@ -32,7 +32,7 @@ // TQt includes #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> // Forward declarations: class Smb4KNetworkBrowserItem; @@ -110,7 +110,7 @@ class Smb4KNetworkBrowserToolTip : public TQLabel Smb4KNetworkBrowserItem *m_item; /** - * The layout for the tool tip + * The tqlayout for the tool tip */ TQGridLayout *m_layout; |