diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:33:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:33:14 +0900 |
commit | 676a13490dc7163e5c99a0f39094a2a4148d3963 (patch) | |
tree | 2eff206a80899e040b1c6221e0c4fdcb9b38d237 /kdevdesigner/designer/designerappiface.cpp | |
parent | aefcba8280fc1520675866143baf2f8c020ec82e (diff) | |
download | tdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.tar.gz tdevelop-676a13490dc7163e5c99a0f39094a2a4148d3963.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/designerappiface.cpp')
-rw-r--r-- | kdevdesigner/designer/designerappiface.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdevdesigner/designer/designerappiface.cpp b/kdevdesigner/designer/designerappiface.cpp index 57ee992e..4a223cef 100644 --- a/kdevdesigner/designer/designerappiface.cpp +++ b/kdevdesigner/designer/designerappiface.cpp @@ -55,9 +55,9 @@ TQRESULT DesignerInterfaceImpl::queryInterface( const TQUuid &uuid, TQUnknownInt { *iface = 0; - if ( uuid == IID_TQUnknown ) + if ( uuid == IID_QUnknown ) *iface = (TQUnknownInterface*)this; - else if ( uuid == IID_TQComponentInformation ) + else if ( uuid == IID_QComponentInformation ) *iface = (TQComponentInformationInterface*)this; else if ( uuid == IID_Designer ) *iface = (DesignerInterface*)this; @@ -190,7 +190,7 @@ TQPtrList<DesignerFormWindow> DesignerProjectImpl::formList() const while ( it.current() ) { TQObject *obj = it.current(); ++it; - TQWidget *par = ::tqqt_cast<FormWindow*>(obj->parent()); + TQWidget *par = ::tqt_cast<FormWindow*>(obj->parent()); if ( !obj->isWidgetType() || !par ) continue; @@ -957,7 +957,7 @@ void DesignerFormWindowImpl::onModificationChange( TQObject *receiver, const cha void DesignerFormWindowImpl::addMenu( const TQString &text, const TQString &name ) { - if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) + if ( !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); @@ -977,7 +977,7 @@ void DesignerFormWindowImpl::addMenu( const TQString &text, const TQString &name void DesignerFormWindowImpl::addMenuAction( const TQString &menu, TQAction *a ) { - if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) + if ( !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); if ( !mw->child( 0, "MenuBarEditor" ) ) @@ -990,7 +990,7 @@ void DesignerFormWindowImpl::addMenuAction( const TQString &menu, TQAction *a ) void DesignerFormWindowImpl::addMenuSeparator( const TQString &menu ) { - if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) + if ( !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); if ( !mw->child( 0, "MenuBarEditor" ) ) @@ -1004,7 +1004,7 @@ void DesignerFormWindowImpl::addMenuSeparator( const TQString &menu ) void DesignerFormWindowImpl::addToolBar( const TQString &text, const TQString &name ) { - if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) + if ( !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); TQToolBar *tb = new QDesignerToolBar( mw ); @@ -1016,7 +1016,7 @@ void DesignerFormWindowImpl::addToolBar( const TQString &text, const TQString &n void DesignerFormWindowImpl::addToolBarAction( const TQString &tbn, TQAction *a ) { - if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) + if ( !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); QDesignerToolBar *tb = (QDesignerToolBar*)mw->child( tbn, "QDesignerToolBar" ); @@ -1028,7 +1028,7 @@ void DesignerFormWindowImpl::addToolBarAction( const TQString &tbn, TQAction *a void DesignerFormWindowImpl::addToolBarSeparator( const TQString &tbn ) { - if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) + if ( !::tqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); QDesignerToolBar *tb = (QDesignerToolBar*)mw->child( tbn, "QDesignerToolBar" ); |