diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kcron/ktlistvars.cpp | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip |
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
Diffstat (limited to 'kcron/ktlistvars.cpp')
-rw-r--r-- | kcron/ktlistvars.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 |