summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewTaskLinkGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttViewTaskLinkGroup.cpp')
-rw-r--r--kdgantt/KDGanttViewTaskLinkGroup.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdgantt/KDGanttViewTaskLinkGroup.cpp b/kdgantt/KDGanttViewTaskLinkGroup.cpp
index 5109168d5..5b39f4b49 100644
--- a/kdgantt/KDGanttViewTaskLinkGroup.cpp
+++ b/kdgantt/KDGanttViewTaskLinkGroup.cpp
@@ -26,8 +26,8 @@
** licensing are not clear to you.
**
** As a special exception, permission is given to link this program
- ** with any edition of Qt, and distribute the resulting executable,
- ** without including the source code for Qt in the source distribution.
+ ** with any edition of TQt, and distribute the resulting executable,
+ ** without including the source code for TQt in the source distribution.
**
**********************************************************************/
@@ -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::find().
+ KDGanttViewTaskLinkGroup::tqfind().
\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::find( const TQString& name )
+KDGanttViewTaskLinkGroup* KDGanttViewTaskLinkGroup::tqfind( const TQString& name )
{
- if (name.isEmpty()) // avoid error msg from QDict
+ if (name.isEmpty()) // avoid error msg from TQDict
return 0;
- return sGroupDict.find( name );
+ return sGroupDict.tqfind( name );
}
@@ -280,13 +280,13 @@ KDGanttViewTaskLinkGroup* KDGanttViewTaskLinkGroup::find( const TQString& name )
Creates a DOM node that describes this task link group.
\param doc the DOM document to which the node belongs
- \param parentElement the element into which to insert this node
+ \param tqparentElement the element into which to insert this node
*/
void KDGanttViewTaskLinkGroup::createNode( TQDomDocument& doc,
- TQDomElement& parentElement )
+ TQDomElement& tqparentElement )
{
TQDomElement taskLinkGroupElement = doc.createElement( "TaskLink" );
- parentElement.appendChild( taskLinkGroupElement );
+ tqparentElement.appendChild( taskLinkGroupElement );
KDGanttXML::createBoolNode( doc, taskLinkGroupElement, "Highlight",
highlight() );
@@ -371,10 +371,10 @@ void KDGanttViewTaskLinkGroup::generateAndInsertName( const TQString& name )
sGroupDict.remove( _name );
TQString newName;
- if ( name.isEmpty() || sGroupDict.find( name ) ) {
+ if ( name.isEmpty() || sGroupDict.tqfind( name ) ) {
// create unique name
newName.sprintf( "%p", (void* )this );
- while( sGroupDict.find( newName ) ) {
+ while( sGroupDict.tqfind( newName ) ) {
newName += "_0";
}
} else {