trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] tdeadmin ‘TQ_CHECK_PTR’ was not declared in this scope

From: "Timothy Pearson" <kb9vqf@...>
Date: Fri, 17 Feb 2012 08:05:11 -0600
> Autobuild of tdeadmin (kcron) fails at KTView.
>
> ktview.cpp: In member function ‘void KTView::create()’:
> ktview.cpp:372:20: error: ‘TQ_CHECK_PTR’ was not declared in this scope
> ktview.cpp: In member function ‘void KTView::edit()’:
> ktview.cpp:380:20: error: ‘TQ_CHECK_PTR’ was not declared in this scope
> make[2]: *** [ktview.o] Error 1
> make[2]: Leaving directory `/tmp/tdeadmin/kcron'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/tdeadmin'
> make: *** [all] Error 2
>
> Here is the snippet:
> void KTView::create()
> {
>   KTListItem* ktli = (KTListItem*)listView->currentItem();
>   if ((ktli->text(0) != KTListTasks::getDescription()) && (ktli->text(0)
> !=
> KTListVars::getDescription())) {
>     ktli = (KTListItem*)ktli->parent();
>   }
>   TQ_CHECK_PTR(ktli);
>   ktli->create();
>   listView->triggerUpdate();
> }
>

Rebuild tqtinterface and this problem should disappear.  If not you could
let me know, but my own autobuilds would probably catch it today or
tomorrow anyway. ;-)

Tim