summaryrefslogtreecommitdiffstats
path: root/src/textdocument.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/textdocument.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/textdocument.cpp')
-rw-r--r--src/textdocument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textdocument.cpp b/src/textdocument.cpp
index 41caf94..628cfb6 100644
--- a/src/textdocument.cpp
+++ b/src/textdocument.cpp
@@ -231,7 +231,7 @@ void TextDocument::guessScheme( bool allowDisable )
{
// And specific file actions depending on the current type of file
TQString fileName = url().fileName();
- TQString extension = fileName.right( fileName.length() - fileName.tqfindRev('.') - 1 );
+ TQString extension = fileName.right( fileName.length() - fileName.findRev('.') - 1 );
if ( extension == "asm" || extension == "src" || extension == "inc" )
slotInitLanguage(ct_asm);