summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/mainwindow.cpp')
-rw-r--r--kdevdesigner/designer/mainwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdevdesigner/designer/mainwindow.cpp b/kdevdesigner/designer/mainwindow.cpp
index b4b5c1ac..e53d0383 100644
--- a/kdevdesigner/designer/mainwindow.cpp
+++ b/kdevdesigner/designer/mainwindow.cpp
@@ -826,7 +826,7 @@ void MainWindow::helpAbout()
dlg.exec();
}
-void MainWindow::helpAboutTQt()
+void MainWindow::helpAboutQt()
{
TQMessageBox::aboutTQt( this, "TQt Designer" );
}
@@ -989,33 +989,33 @@ bool MainWindow::eventFilter( TQObject *o, TQEvent *e )
if ( o && currentTool() == POINTER_TOOL &&
( ::tqqt_cast<MenuBarEditor*>(o) ||
::tqqt_cast<PopupMenuEditor*>(o) ||
- ::tqqt_cast<TQDesignerToolBar*>(o) ||
+ ::tqqt_cast<QDesignerToolBar*>(o) ||
( ::tqqt_cast<TQComboBox*>(o) ||
::tqqt_cast<TQToolButton*>(o) ||
- ::tqqt_cast<TQDesignerToolBarSeparator*>(o) ) &&
+ ::tqqt_cast<QDesignerToolBarSeparator*>(o) ) &&
o->tqparent()
- && ( ::tqqt_cast<TQDesignerToolBar*>(o->tqparent())
+ && ( ::tqqt_cast<QDesignerToolBar*>(o->tqparent())
|| ::tqqt_cast<TQDesignerWidgetStack*>(o->tqparent())) ) ) {
TQWidget *w = (TQWidget*)o;
if ( ::tqqt_cast<TQToolButton*>(w) ||
::tqqt_cast<TQComboBox*>(w) ||
::tqqt_cast<PopupMenuEditor*>(w) ||
- ::tqqt_cast<TQDesignerToolBarSeparator*>(w) )
+ ::tqqt_cast<QDesignerToolBarSeparator*>(w) )
w = w->tqparentWidget();
TQWidget *pw = w->tqparentWidget();
while ( pw ) {
if ( ::tqqt_cast<FormWindow*>(pw) ) {
( (FormWindow*)pw )->emitShowProperties( TQT_TQOBJECT(w) );
- if ( !::tqqt_cast<TQDesignerToolBar*>(o) )
+ if ( !::tqqt_cast<QDesignerToolBar*>(o) )
return ( !::tqqt_cast<TQToolButton*>(o) &&
!::tqqt_cast<MenuBarEditor*>(o) &&
!::tqqt_cast<TQComboBox*>(o) &&
- !::tqqt_cast<TQDesignerToolBarSeparator*>(o) );
+ !::tqqt_cast<QDesignerToolBarSeparator*>(o) );
}
pw = pw->tqparentWidget();
}
}
- if ( o && ( ::tqqt_cast<TQDesignerToolBar*>(o) || o->inherits(TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING) )
+ if ( o && ( ::tqqt_cast<QDesignerToolBar*>(o) || o->inherits(TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING) )
&& e->type() == TQEvent::ContextMenu )
break;
if ( isAToolBarChild( o ) && currentTool() != CONNECT_TOOL && currentTool() != BUDDY_TOOL )
@@ -1246,7 +1246,7 @@ TQWidget *MainWindow::isAFormWindowChild( TQObject *o ) const
TQWidget *MainWindow::isAToolBarChild( TQObject *o ) const
{
while ( o ) {
- if ( ::tqqt_cast<TQDesignerToolBar*>(o) )
+ if ( ::tqqt_cast<QDesignerToolBar*>(o) )
return (TQWidget*)o;
if ( ::tqqt_cast<FormWindow*>(o) )
return 0;