summaryrefslogtreecommitdiffstats
path: root/src/docmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commite05894553004a47b1e2f276bedcf5963b57a3932 (patch)
tree2c12af14a609c053131e3a463068fa7589e6ac6a /src/docmanager.cpp
parent60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff)
downloadktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz
ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/docmanager.cpp')
-rw-r--r--src/docmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/docmanager.cpp b/src/docmanager.cpp
index facedac..35b1c5a 100644
--- a/src/docmanager.cpp
+++ b/src/docmanager.cpp
@@ -119,7 +119,7 @@ Document* DocManager::openURL( const KURL &url, ViewArea *viewArea )
}
TQString fileName = url.fileName();
- TQString extension = fileName.right( fileName.length() - fileName.tqfindRev('.') );
+ TQString extension = fileName.right( fileName.length() - fileName.findRev('.') );
if ( extension == ".circuit" )
return openCircuitFile( url, viewArea );
@@ -207,7 +207,7 @@ TQString DocManager::untitledName( int type )
Document *DocManager::findDocument( const KURL &url ) const
{
// First, look in the associated documents
- if ( m_associatedDocuments.tqcontains(url) )
+ if ( m_associatedDocuments.contains(url) )
return m_associatedDocuments[url];
// Not found, so look in the known documents
@@ -254,7 +254,7 @@ void DocManager::removeDocumentAssociations( Document *document )
void DocManager::handleNewDocument( Document *document, ViewArea *viewArea )
{
- if ( !document || m_documentList.tqcontains(document) )
+ if ( !document || m_documentList.contains(document) )
return;
m_documentList.append(document);