summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/sourceeditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 23:01:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 23:59:58 +0900
commitb9186693ada54762210d51282c15e2248e76a586 (patch)
tree6e7e82a9639e67a50aa121eb08b8d7c1f6ba0229 /kdevdesigner/designer/sourceeditor.cpp
parentf12db681be834f7027132156c05afcbcb2346278 (diff)
downloadtdevelop-b9186693ada54762210d51282c15e2248e76a586.tar.gz
tdevelop-b9186693ada54762210d51282c15e2248e76a586.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 61cd5b18f00b0d36a7953596c5295e358324ebb7)
Diffstat (limited to 'kdevdesigner/designer/sourceeditor.cpp')
-rw-r--r--kdevdesigner/designer/sourceeditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/sourceeditor.cpp b/kdevdesigner/designer/sourceeditor.cpp
index 1efbe164..bcdca52e 100644
--- a/kdevdesigner/designer/sourceeditor.cpp
+++ b/kdevdesigner/designer/sourceeditor.cpp
@@ -47,7 +47,7 @@ SourceEditor::SourceEditor( TQWidget *parent, EditorInterface *iface, LanguageIn
lIface->addRef();
editor = iFace->editor( MainWindow::self->areEditorsReadOnly(),
this, MainWindow::self->designerInterface() );
- iFace->onBreakPointChange( TQT_TQOBJECT(MainWindow::self), TQT_SLOT( breakPointsChanged() ) );
+ iFace->onBreakPointChange( MainWindow::self, TQT_SLOT( breakPointsChanged() ) );
resize( 600, 400 );
setIcon( SmallIcon( "designer_filenew.png" , KDevDesignerPartFactory::instance()) );
}
@@ -104,7 +104,7 @@ void SourceEditor::setObject( TQObject *o, Project *p )
if ( formWindow()->isFake() )
iFace->setContext( pro->objectForFakeFormFile( formWindow()->formFile() ) );
else
- iFace->setContext( TQT_TQOBJECT(formWindow()->mainContainer()) );
+ iFace->setContext( formWindow()->mainContainer() );
} else {
iFace->setContext( 0 );
}
@@ -235,7 +235,7 @@ void SourceEditor::resetContext()
if ( formWindow()->isFake() )
iFace->setContext( pro->objectForFakeFormFile( formWindow()->formFile() ) );
else
- iFace->setContext( TQT_TQOBJECT(formWindow()->mainContainer()) );
+ iFace->setContext( formWindow()->mainContainer() );
} else {
iFace->setContext( 0 );
}