diff options
author | Timothy Pearson <[email protected]> | 2012-03-06 20:38:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-06 20:38:40 -0600 |
commit | eb1d1e0dec5720ace27395e290b7093cd68b150d (patch) | |
tree | 04a199ef5ea853d86a6f9a44716c0874d41c20f6 /tools/designer/editor | |
parent | ae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff) | |
download | tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip |
Automated update from qt3
Diffstat (limited to 'tools/designer/editor')
-rw-r--r-- | tools/designer/editor/browser.cpp | 2 | ||||
-rw-r--r-- | tools/designer/editor/completion.cpp | 4 | ||||
-rw-r--r-- | tools/designer/editor/viewmanager.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
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<Editor*>(o->parent()) || ::qt_cast<Editor*>(o) ) { + if ( ::tqt_cast<Editor*>(o->parent()) || ::tqt_cast<Editor*>(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<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 ) { 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<Editor*>(e->child()) ) + if ( e->type() == TQEvent::ChildInserted && ::tqt_cast<Editor*>(e->child()) ) addView( (TQWidget*)e->child() ); TQWidget::childEvent( e ); } |