summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewTaskLinkGroup.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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kdgantt/KDGanttViewTaskLinkGroup.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttViewTaskLinkGroup.cpp')
-rw-r--r--kdgantt/KDGanttViewTaskLinkGroup.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdgantt/KDGanttViewTaskLinkGroup.cpp b/kdgantt/KDGanttViewTaskLinkGroup.cpp
index c6e56c0b8..34b5bb81e 100644
--- a/kdgantt/KDGanttViewTaskLinkGroup.cpp
+++ b/kdgantt/KDGanttViewTaskLinkGroup.cpp
@@ -70,7 +70,7 @@ KDGanttViewTaskLinkGroup::~KDGanttViewTaskLinkGroup()
/*!
Constructs an empty task link group and records it under the name \a
name so that it can later be found again with
- KDGanttViewTaskLinkGroup::tqfind().
+ KDGanttViewTaskLinkGroup::find().
\param name the search name of this task link group
*/
@@ -268,11 +268,11 @@ void KDGanttViewTaskLinkGroup::removeItem (KDGanttViewTaskLink* link)
\return the task link group with the specified name; 0 if no group
with that name exists
*/
-KDGanttViewTaskLinkGroup* KDGanttViewTaskLinkGroup::tqfind( const TQString& name )
+KDGanttViewTaskLinkGroup* KDGanttViewTaskLinkGroup::find( const TQString& name )
{
if (name.isEmpty()) // avoid error msg from TQDict
return 0;
- return sGroupDict.tqfind( name );
+ return sGroupDict.find( name );
}
@@ -371,10 +371,10 @@ void KDGanttViewTaskLinkGroup::generateAndInsertName( const TQString& name )
sGroupDict.remove( _name );
TQString newName;
- if ( name.isEmpty() || sGroupDict.tqfind( name ) ) {
+ if ( name.isEmpty() || sGroupDict.find( name ) ) {
// create unique name
newName.sprintf( "%p", (void* )this );
- while( sGroupDict.tqfind( newName ) ) {
+ while( sGroupDict.find( newName ) ) {
newName += "_0";
}
} else {