summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/kcal/task.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /kresources/kolab/kcal/task.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/kolab/kcal/task.cpp')
-rw-r--r--kresources/kolab/kcal/task.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/kolab/kcal/task.cpp b/kresources/kolab/kcal/task.cpp
index 7bf5a601c..570bb47bc 100644
--- a/kresources/kolab/kcal/task.cpp
+++ b/kresources/kolab/kcal/task.cpp
@@ -141,7 +141,7 @@ void Task::setParent( const TQString& parentUid )
mParent = parentUid;
}
-TQString Task::tqparent() const
+TQString Task::parent() const
{
return mParent;
}
@@ -247,7 +247,7 @@ bool Task::loadAttribute( TQDomElement& element )
setqStatus( KCal::Incidence::StatusNone );
} else if ( tagName == "due-date" ) {
setDueDate( element.text() );
- } else if ( tagName == "tqparent" ) {
+ } else if ( tagName == "parent" ) {
setParent( element.text() );
} else if ( tagName == "x-completed-date" ) {
setCompletedDate( stringToDateTime( element.text() ) );
@@ -307,8 +307,8 @@ bool Task::saveAttributes( TQDomElement& element ) const
}
}
- if ( !tqparent().isNull() ) {
- writeString( element, "tqparent", tqparent() );
+ if ( !parent().isNull() ) {
+ writeString( element, "parent", parent() );
}
if ( hasCompletedDate() && percentCompleted() == 100 ) {
@@ -453,8 +453,8 @@ void Task::saveTo( KCal::Todo* task )
if ( hasDueDate() )
task->setDtDue( utcToLocal( dueDate() ) );
- if ( !tqparent().isNull() )
- task->setRelatedToUid( tqparent() );
+ if ( !parent().isNull() )
+ task->setRelatedToUid( parent() );
if ( hasCompletedDate() && task->percentComplete() == 100 )
task->setCompleted( utcToLocal( mCompletedDate ) );