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 | 6335dc55802871b5a43492f217b6edbb420204c4 (patch) | |
tree | 50c6c8672a52687568edea475614dfe3d98e62e5 /superkaramba/src/taskmanager.cpp | |
parent | 9b8c9f1f9e974ff0176108cfbd8852cd99ea68c8 (diff) | |
download | tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.tar.gz tdeutils-6335dc55802871b5a43492f217b6edbb420204c4.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/taskmanager.cpp')
-rw-r--r-- | superkaramba/src/taskmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/superkaramba/src/taskmanager.cpp b/superkaramba/src/taskmanager.cpp index 7f091ce..90f0efe 100644 --- a/superkaramba/src/taskmanager.cpp +++ b/superkaramba/src/taskmanager.cpp @@ -138,7 +138,7 @@ void TaskManager::windowAdded(WId w ) WId transient_for = (WId) transient_for_tmp; // check if it's transient for a skiptaskbar window - if (_skiptaskbar_windows.tqcontains(transient_for)) + if (_skiptaskbar_windows.contains(transient_for)) return; // lets see if this is a transient for an existing task @@ -464,9 +464,9 @@ bool Task::isModified() const { static TQString modStr = TQString::fromUtf8("[") + i18n("modified") + TQString::fromUtf8("]"); #ifdef KDE_3_2 - int modStrPos = _info.visibleName().tqfind(modStr); + int modStrPos = _info.visibleName().find(modStr); #else - int modStrPos = _info.visibleName.tqfind(modStr); + int modStrPos = _info.visibleName.find(modStr); #endif return ( modStrPos != -1 ); @@ -608,10 +608,10 @@ bool Task::idMatch( const TQString& id1, const TQString& id2 ) if ( id1.isEmpty() || id2.isEmpty() ) return false; - if ( id1.tqcontains( id2 ) > 0 ) + if ( id1.contains( id2 ) > 0 ) return true; - if ( id2.tqcontains( id1 ) > 0 ) + if ( id2.contains( id1 ) > 0 ) return true; return false; |