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/projectmanager.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/projectmanager.cpp')
-rw-r--r-- | src/projectmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/projectmanager.cpp b/src/projectmanager.cpp index ad6a32a..884a8e9 100644 --- a/src/projectmanager.cpp +++ b/src/projectmanager.cpp @@ -254,7 +254,7 @@ void ProjectItem::updateILVItemPixmap() void ProjectItem::addChild( ProjectItem * child ) { - if ( !child || m_tqchildren.tqcontains(child) ) + if ( !child || m_tqchildren.contains(child) ) return; m_tqchildren << child; @@ -336,8 +336,8 @@ void ProjectItem::setURL( const KURL & url ) if ( !newExtension.isEmpty() ) { const TQString fileName = url.url(); - TQString extension = fileName.right( fileName.length() - fileName.tqfindRev('.') ); - setOutputURL( TQString(fileName).tqreplace( extension, newExtension ) ); + TQString extension = fileName.right( fileName.length() - fileName.findRev('.') ); + setOutputURL( TQString(fileName).replace( extension, newExtension ) ); } } |