From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- karm/taskview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'karm/taskview.cpp') 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() ) { -- cgit v1.2.1