summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/kcal_resourcexmlrpc.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/egroupware/kcal_resourcexmlrpc.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/egroupware/kcal_resourcexmlrpc.cpp')
-rw-r--r--kresources/egroupware/kcal_resourcexmlrpc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kresources/egroupware/kcal_resourcexmlrpc.cpp b/kresources/egroupware/kcal_resourcexmlrpc.cpp
index 25f4c1f2d..3360d18cd 100644
--- a/kresources/egroupware/kcal_resourcexmlrpc.cpp
+++ b/kresources/egroupware/kcal_resourcexmlrpc.cpp
@@ -250,7 +250,7 @@ bool ResourceXMLRPC::doLoad()
columns.insert( "type", "task" );
args.insert( "filter", "none" );
args.insert( "col_filter", columns );
- args.insert( "order", "id_tqparent" );
+ args.insert( "order", "id_parent" );
mServer->call( SearchTodosCommand, args,
this, TQT_SLOT( listTodosFinished( const TQValueList<TQVariant>&, const TQVariant& ) ),
@@ -1115,7 +1115,7 @@ void ResourceXMLRPC::writeTodo( Todo* todo, TQMap<TQString, TQVariant>& args )
Incidence *inc = todo->relatedTo();
if ( inc ) {
TQString parentUid = idMapper().remoteId( inc->uid() );
- args.insert( "id_tqparent", parentUid );
+ args.insert( "id_parent", parentUid );
}
// STATE
@@ -1172,13 +1172,13 @@ void ResourceXMLRPC::readTodo( const TQMap<TQString, TQVariant>& args, Todo *tod
}
// SUBTODO
- TQString parentId = args[ "id_tqparent" ].toString();
+ TQString parentId = args[ "id_parent" ].toString();
if ( parentId != "0" ) { // we are a sub todo
TQString localParentUid = idMapper().localId( parentId );
- if ( !localParentUid.isEmpty() ) { // found tqparent todo
- Todo *tqparent = mCalendar.todo( localParentUid );
- if ( tqparent )
- todo->setRelatedTo( tqparent );
+ if ( !localParentUid.isEmpty() ) { // found parent todo
+ Todo *parent = mCalendar.todo( localParentUid );
+ if ( parent )
+ todo->setRelatedTo( parent );
}
}