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/ktlistvars.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcron/ktlistvars.cpp') diff --git a/kcron/ktlistvars.cpp b/kcron/ktlistvars.cpp index 64d43a1..ec9894a 100644 --- a/kcron/ktlistvars.cpp +++ b/kcron/ktlistvars.cpp @@ -25,14 +25,14 @@ #include "ktvariable.h" #include "ktprint.h" -KTListVars::KTListVars(KTListItem* parent, CTCron* _ctcron) : - KTListItem(parent, 0, _ctcron) +KTListVars::KTListVars(KTListItem* tqparent, CTCron* _ctcron) : + KTListItem(tqparent, 0, _ctcron) { refresh(); } -KTListVars::KTListVars(TQListView* parent, CTCron* _ctcron) : - KTListItem(parent, 0, _ctcron) +KTListVars::KTListVars(TQListView* tqparent, CTCron* _ctcron) : + KTListItem(tqparent, 0, _ctcron) { refresh(); } @@ -46,7 +46,7 @@ void KTListVars::create() if (tempvar->dirty()) { getCTCron()->variable.push_back(tempvar); - new KTListVar(this, getCTCron(), tempvar); // Qt will clean up + new KTListVar(this, getCTCron(), tempvar); // TQt will clean up } else { @@ -73,7 +73,7 @@ void KTListVars::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