diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | e05894553004a47b1e2f276bedcf5963b57a3932 (patch) | |
tree | 2c12af14a609c053131e3a463068fa7589e6ac6a /src/textdocument.cpp | |
parent | 60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff) | |
download | ktechlab-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.cpp | 2 |
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); |