summaryrefslogtreecommitdiffstats
path: root/ark/arkapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ark/arkapp.cpp')
-rw-r--r--ark/arkapp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ark/arkapp.cpp b/ark/arkapp.cpp
index 3085399..c4604e6 100644
--- a/ark/arkapp.cpp
+++ b/ark/arkapp.cpp
@@ -85,7 +85,7 @@ static TQString resolveFilename(const TQString & _arkname)
if (name.at(0) != '/')
{
// copy the path from _arkname
- int index = _arkname.tqfindRev('/');
+ int index = _arkname.findRev('/');
name = _arkname.left(index + 1) + name;
}
kdDebug(1601) << "Now resolve " << name << endl;
@@ -243,7 +243,7 @@ ArkApplication::addOpenArk(const KURL & _arkname, MainWindow *_ptr)
else
realName = _arkname.prettyURL();
openArksList.append(realName);
- m_windowsHash.tqreplace(realName, _ptr);
+ m_windowsHash.replace(realName, _ptr);
kdDebug(1601) << "Saved ptr " << _ptr << " added open ark: " << realName << endl;
}
@@ -287,7 +287,7 @@ ArkApplication::isArkOpenAlready(const KURL & _arkname)
realName = resolveFilename(_arkname.path()); // follow symlink
else
realName = _arkname.prettyURL();
- return ( openArksList.tqfindIndex(realName) != -1 );
+ return ( openArksList.findIndex(realName) != -1 );
}
#include "arkapp.moc"