summaryrefslogtreecommitdiffstats
path: root/karm/taskview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/taskview.cpp')
-rw-r--r--karm/taskview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/karm/taskview.cpp b/karm/taskview.cpp
index 95dfc8569..b4f655ff9 100644
--- a/karm/taskview.cpp
+++ b/karm/taskview.cpp
@@ -37,7 +37,7 @@
class DesktopTracker;
-TaskView::TaskView(TQWidget *tqparent, const char *name, const TQString &icsfile ):KListView(tqparent,name)
+TaskView::TaskView(TQWidget *parent, const char *name, const TQString &icsfile ):KListView(parent,name)
{
_preferences = Preferences::instance( icsfile );
_storage = KarmStorage::instance();
@@ -495,7 +495,7 @@ void TaskView::newTask()
newTask(i18n("New Task"), 0);
}
-void TaskView::newTask(TQString caption, Task *tqparent)
+void TaskView::newTask(TQString caption, Task *parent)
{
EditTaskDialog *dialog = new EditTaskDialog(caption, false);
long total, totalDiff, session, sessionDiff;
@@ -514,7 +514,7 @@ void TaskView::newTask(TQString caption, Task *tqparent)
if ( desktopList.size() == ( unsigned int ) _desktopTracker->desktopCount() )
desktopList.clear();
- TQString uid = addTask( taskName, total, session, desktopList, tqparent );
+ TQString uid = addTask( taskName, total, session, desktopList, parent );
if ( uid.isNull() )
{
KMessageBox::error( 0, i18n(
@@ -527,15 +527,15 @@ void TaskView::newTask(TQString caption, Task *tqparent)
TQString TaskView::addTask
( const TQString& taskname, long total, long session,
- const DesktopList& desktops, Task* tqparent )
+ const DesktopList& desktops, Task* parent )
{
Task *task;
kdDebug(5970) << "TaskView::addTask: taskname = " << taskname << endl;
- if ( tqparent ) task = new Task( taskname, total, session, desktops, tqparent );
+ if ( parent ) task = new Task( taskname, total, session, desktops, parent );
else task = new Task( taskname, total, session, desktops, this );
- task->setUid( _storage->addTask( task, tqparent ) );
+ task->setUid( _storage->addTask( task, parent ) );
TQString taskuid=task->uid();
if ( ! taskuid.isNull() )
{