summaryrefslogtreecommitdiffstats
path: root/kresources/featureplan/kcal_resourcefeatureplan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/featureplan/kcal_resourcefeatureplan.cpp')
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplan.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kresources/featureplan/kcal_resourcefeatureplan.cpp b/kresources/featureplan/kcal_resourcefeatureplan.cpp
index cce884955..692a85846 100644
--- a/kresources/featureplan/kcal_resourcefeatureplan.cpp
+++ b/kresources/featureplan/kcal_resourcefeatureplan.cpp
@@ -100,7 +100,7 @@ bool ResourceFeaturePlan::doLoad()
}
void ResourceFeaturePlan::insertCategories( const Category::List &categories,
- Todo *parent )
+ Todo *tqparent )
{
Category::List::ConstIterator it;
for( it = categories.begin(); it != categories.end(); ++it ) {
@@ -108,7 +108,7 @@ void ResourceFeaturePlan::insertCategories( const Category::List &categories,
Todo *categoryTodo = new Todo;
categoryTodo->setSummary( c->name() );
- categoryTodo->setRelatedTo( parent );
+ categoryTodo->setRelatedTo( tqparent );
insertCategories( c->categoryList(), categoryTodo );
@@ -119,7 +119,7 @@ void ResourceFeaturePlan::insertCategories( const Category::List &categories,
Todo *todo = new Todo;
TQString summary = f->summary();
- int pos = summary.find( '\n' );
+ int pos = summary.tqfind( '\n' );
if ( pos > 0 ) summary = summary.left( pos ) + "...";
todo->setSummary( summary );