diff options
Diffstat (limited to 'kresources/egroupware/kcal_resourcexmlrpc.cpp')
-rw-r--r-- | kresources/egroupware/kcal_resourcexmlrpc.cpp | 14 |
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 ); } } |