From b09bffed6b43262948018dfb0f11890850ddf7c1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 20:34:22 +0000 Subject: TQt4 port kdeadmin This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcron/ktlisttasks.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcron/ktlisttasks.cpp') diff --git a/kcron/ktlisttasks.cpp b/kcron/ktlisttasks.cpp index 95c7779..1c21556 100644 --- a/kcron/ktlisttasks.cpp +++ b/kcron/ktlisttasks.cpp @@ -24,14 +24,14 @@ #include "kttask.h" #include "ktprint.h" -KTListTasks::KTListTasks(KTListItem* parent, CTCron* _ctcron) : - KTListItem(parent, 0, _ctcron) +KTListTasks::KTListTasks(KTListItem* tqparent, CTCron* _ctcron) : + KTListItem(tqparent, 0, _ctcron) { refresh(); } -KTListTasks::KTListTasks(TQListView* parent, CTCron* _ctcron) : - KTListItem(parent, 0, _ctcron) +KTListTasks::KTListTasks(TQListView* tqparent, CTCron* _ctcron) : + KTListItem(tqparent, 0, _ctcron) { refresh(); } @@ -50,7 +50,7 @@ void KTListTasks::create() if (temptask->dirty()) { getCTCron()->task.push_back(temptask); - new KTListTask(this, getCTCron(), temptask); // Qt will clean up + new KTListTask(this, getCTCron(), temptask); // TQt will clean up } else { @@ -77,7 +77,7 @@ void KTListTasks::print (KTPrint& printer) const printer.setFont(stnd); - //firstChild() does not return null if there are no children, therefore + //firstChild() does not return null if there are no tqchildren, therefore //we need to check the validation of the pointer without terminating //the application. This maybe a bug in QT 1.44 -- cgit v1.2.1