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/browser.cpp | 2 +- tools/designer/editor/completion.cpp | 4 ++-- tools/designer/editor/viewmanager.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/designer/editor') diff --git a/tools/designer/editor/browser.cpp b/tools/designer/editor/browser.cpp index 42c3d4e0e..d32e8551c 100644 --- a/tools/designer/editor/browser.cpp +++ b/tools/designer/editor/browser.cpp @@ -57,7 +57,7 @@ EditorBrowser::~EditorBrowser() bool EditorBrowser::eventFilter( TQObject *o, TQEvent *e ) { - if ( ::qt_cast(o->parent()) || ::qt_cast(o) ) { + if ( ::tqt_cast(o->parent()) || ::tqt_cast(o) ) { TQMouseEvent *me; TQKeyEvent *ke; switch ( e->type() ) { 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 ) { diff --git a/tools/designer/editor/viewmanager.cpp b/tools/designer/editor/viewmanager.cpp index def747050..96c106f03 100644 --- a/tools/designer/editor/viewmanager.cpp +++ b/tools/designer/editor/viewmanager.cpp @@ -97,7 +97,7 @@ TQWidget *ViewManager::currentView() const void ViewManager::childEvent( TQChildEvent *e ) { - if ( e->type() == TQEvent::ChildInserted && ::qt_cast(e->child()) ) + if ( e->type() == TQEvent::ChildInserted && ::tqt_cast(e->child()) ) addView( (TQWidget*)e->child() ); TQWidget::childEvent( e ); } -- cgit v1.2.1