summaryrefslogtreecommitdiffstats
path: root/karm/karmstorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/karmstorage.cpp')
-rw-r--r--karm/karmstorage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/karm/karmstorage.cpp b/karm/karmstorage.cpp
index d56dff0b2..6211deb84 100644
--- a/karm/karmstorage.cpp
+++ b/karm/karmstorage.cpp
@@ -102,7 +102,7 @@ TQString KarmStorage::load (TaskView* view, const Preferences* preferences, TQSt
// If file doesn't exist, create a blank one to avoid ResourceLocal load
// error. We make it user and group read/write, others read. This is
- // tqmasked by the users umask. (See man creat)
+ // masked by the users umask. (See man creat)
if ( ! remoteResource( _icalfile ) )
{
int handle;
@@ -310,11 +310,11 @@ TQString KarmStorage::save(TaskView* taskview)
kdDebug(5970) << "entering KarmStorage::save" << endl;
TQString err=TQString();
- TQPtrStack< KCal::Todo > tqparents;
+ TQPtrStack< KCal::Todo > parents;
for (Task* task=taskview->first_child(); task; task = task->nextSibling())
{
- err=writeTaskAsTodo(task, 1, tqparents );
+ err=writeTaskAsTodo(task, 1, parents );
}
if ( !saveCalendar() )
@@ -337,7 +337,7 @@ TQString KarmStorage::save(TaskView* taskview)
}
TQString KarmStorage::writeTaskAsTodo(Task* task, const int level,
- TQPtrStack< KCal::Todo >& tqparents )
+ TQPtrStack< KCal::Todo >& parents )
{
TQString err;
KCal::Todo* todo;
@@ -349,16 +349,16 @@ TQString KarmStorage::writeTaskAsTodo(Task* task, const int level,
return "Could not get todo from calendar";
}
task->asTodo(todo);
- if ( !tqparents.isEmpty() ) todo->setRelatedTo( tqparents.top() );
- tqparents.push( todo );
+ if ( !parents.isEmpty() ) todo->setRelatedTo( parents.top() );
+ parents.push( todo );
for ( Task* nextTask = task->firstChild(); nextTask;
nextTask = nextTask->nextSibling() )
{
- err = writeTaskAsTodo(nextTask, level+1, tqparents );
+ err = writeTaskAsTodo(nextTask, level+1, parents );
}
- tqparents.pop();
+ parents.pop();
return err;
}