diff options
Diffstat (limited to 'tools/designer/editor/completion.cpp')
-rw-r--r-- | tools/designer/editor/completion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Editor*>(o)) { + if ( e->type() == TQEvent::KeyPress && ::tqt_cast<Editor*>(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<Editor*>(o) && functionLabel->isVisible() ) { + if ( o == functionLabel || ::tqt_cast<Editor*>(o) && functionLabel->isVisible() ) { if ( e->type() == TQEvent::KeyPress ) { TQKeyEvent *ke = (TQKeyEvent*)e; if ( ke->key() == Key_Escape ) { |