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 ++-- knetworkconf/knetworkconf/knetworkconf.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) 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(); } diff --git a/knetworkconf/knetworkconf/knetworkconf.cpp b/knetworkconf/knetworkconf/knetworkconf.cpp index 2a5c4c0..083bfe1 100644 --- a/knetworkconf/knetworkconf/knetworkconf.cpp +++ b/knetworkconf/knetworkconf/knetworkconf.cpp @@ -980,7 +980,7 @@ void KNetworkConf::setReadOnlySlot(bool state) void KNetworkConf::showInterfaceContextMenuSlot(KListView* lv, TQListViewItem* lvi, const TQPoint& pt) { KPopupMenu *context = new KPopupMenu( this ); - Q_CHECK_PTR( context ); + TQ_CHECK_PTR( context ); context->insertItem( "&Enable Interface", this, TQT_SLOT(enableInterfaceSlot())); context->insertItem( "&Disable Interface", this, TQT_SLOT(disableInterfaceSlot())); TQListViewItem *item = klvCardList->currentItem(); -- cgit v1.2.1