From eb1d1e0dec5720ace27395e290b7093cd68b150d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Mar 2012 20:38:40 -0600 Subject: Automated update from qt3 --- tools/designer/editor/completion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/designer/editor/completion.cpp') diff --git a/tools/designer/editor/completion.cpp b/tools/designer/editor/completion.cpp index f0923c554..ecd1e73be 100644 --- a/tools/designer/editor/completion.cpp +++ b/tools/designer/editor/completion.cpp @@ -327,7 +327,7 @@ bool EditorCompletion::eventFilter( TQObject *o, TQEvent *e ) { if ( !enabled ) return FALSE; - if ( e->type() == TQEvent::KeyPress && ::qt_cast(o)) { + if ( e->type() == TQEvent::KeyPress && ::tqt_cast(o)) { curEditor = (Editor*)o; TQKeyEvent *ke = (TQKeyEvent*)e; if ( ke->key() == Key_Tab ) { @@ -423,7 +423,7 @@ bool EditorCompletion::eventFilter( TQObject *o, TQEvent *e ) return TRUE; } } - if ( o == functionLabel || ::qt_cast(o) && functionLabel->isVisible() ) { + if ( o == functionLabel || ::tqt_cast(o) && functionLabel->isVisible() ) { if ( e->type() == TQEvent::KeyPress ) { TQKeyEvent *ke = (TQKeyEvent*)e; if ( ke->key() == Key_Escape ) { -- cgit v1.2.1