summaryrefslogtreecommitdiffstats
path: root/src/docmanager.cpp
diff options
context:
space:
mode:
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);