From 32bbed9b92c64aff51d1e1b84f8f5b1aea19a4ea Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:15:17 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- kcron/ktlistcron.cpp | 2 +- kcron/ktlisttasks.cpp | 2 +- kcron/ktlistvars.cpp | 2 +- kcron/ktview.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kcron') diff --git a/kcron/ktlistcron.cpp b/kcron/ktlistcron.cpp index 05dadb3..9379c3d 100644 --- a/kcron/ktlistcron.cpp +++ b/kcron/ktlistcron.cpp @@ -61,7 +61,7 @@ void KTListCron::print (KTPrint& printer) const userInfo = TQString::fromLocal8Bit(getCTCron()->name.c_str()); KTListItem* ktli = (KTListItem*)this->firstChild(); - Q_CHECK_PTR(ktli); + TQ_CHECK_PTR(ktli); while (ktli) { ktli->print(printer); ktli = (KTListItem*)ktli->nextSibling(); diff --git a/kcron/ktlisttasks.cpp b/kcron/ktlisttasks.cpp index e35f053..88e344e 100644 --- a/kcron/ktlisttasks.cpp +++ b/kcron/ktlisttasks.cpp @@ -88,7 +88,7 @@ void KTListTasks::print (KTPrint& printer) const } KTListItem* ktli = (KTListItem*)this->firstChild(); - Q_CHECK_PTR(ktli); + TQ_CHECK_PTR(ktli); while (ktli) { ktli->print(printer); diff --git a/kcron/ktlistvars.cpp b/kcron/ktlistvars.cpp index cf4a6d1..96b4aae 100644 --- a/kcron/ktlistvars.cpp +++ b/kcron/ktlistvars.cpp @@ -84,7 +84,7 @@ void KTListVars::print(KTPrint& printer) const } KTListItem* ktli = (KTListItem*)this->firstChild(); - Q_CHECK_PTR(ktli); + TQ_CHECK_PTR(ktli); while (ktli) { ktli->print(printer); ktli = (KTListItem*)ktli->nextSibling(); diff --git a/kcron/ktview.cpp b/kcron/ktview.cpp index 27341de..f661cee 100644 --- a/kcron/ktview.cpp +++ b/kcron/ktview.cpp @@ -369,7 +369,7 @@ void KTView::create() if ((ktli->text(0) != KTListTasks::getDescription()) && (ktli->text(0) != KTListVars::getDescription())) { ktli = (KTListItem*)ktli->parent(); } - Q_CHECK_PTR(ktli); + TQ_CHECK_PTR(ktli); ktli->create(); listView->triggerUpdate(); } @@ -377,7 +377,7 @@ void KTView::create() void KTView::edit() { KTListItem* ktli = (KTListItem*)listView->currentItem(); - Q_CHECK_PTR(ktli); + TQ_CHECK_PTR(ktli); ktli->edit(); listView->triggerUpdate(); } -- cgit v1.2.1