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/ktlisttasks.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/ktlisttasks.cpp')
-rw-r--r-- | kcron/ktlisttasks.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 |