summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/actioneditorimpl.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:01:28 +0900
commit61cd5b18f00b0d36a7953596c5295e358324ebb7 (patch)
tree9e5fe82b53b2e1957358366b7c0149dab04206fb /kdevdesigner/designer/actioneditorimpl.cpp
parent30ac86e18cc775007edbbf3cdb816082c172f38c (diff)
downloadtdevelop-61cd5b18f00b0d36a7953596c5295e358324ebb7.tar.gz
tdevelop-61cd5b18f00b0d36a7953596c5295e358324ebb7.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/actioneditorimpl.cpp')
-rw-r--r--kdevdesigner/designer/actioneditorimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/actioneditorimpl.cpp b/kdevdesigner/designer/actioneditorimpl.cpp
index a08edc67..59063f8d 100644
--- a/kdevdesigner/designer/actioneditorimpl.cpp
+++ b/kdevdesigner/designer/actioneditorimpl.cpp
@@ -139,7 +139,7 @@ void ActionEditor::deleteAction()
++it;
}
if ( formWindow ) {
- formWindow->setActiveObject( TQT_TQOBJECT(formWindow->mainContainer()) );
+ formWindow->setActiveObject( formWindow->mainContainer() );
if ( formWindow->formFile() )
formWindow->formFile()->setModified( TRUE );
}
@@ -305,7 +305,7 @@ void ActionEditor::updateActionIcon( TQAction *a )
void ActionEditor::connectionsClicked()
{
ConnectionDialog dlg( formWindow->mainWindow() );
- dlg.setDefault( TQT_TQOBJECT(currentAction), TQT_TQOBJECT(formWindow) );
+ dlg.setDefault( currentAction, formWindow );
dlg.addConnection();
dlg.exec();
}
@@ -313,9 +313,9 @@ void ActionEditor::connectionsClicked()
void ActionEditor::removeConnections( TQObject *o )
{
TQValueList<MetaDataBase::Connection> conns =
- MetaDataBase::connections( TQT_TQOBJECT(formWindow), o );
+ MetaDataBase::connections( formWindow, o );
for ( TQValueList<MetaDataBase::Connection>::Iterator it2 = conns.begin();
it2 != conns.end(); ++it2 )
- MetaDataBase::removeConnection( TQT_TQOBJECT(formWindow), (*it2).sender, (*it2).signal,
+ MetaDataBase::removeConnection( formWindow, (*it2).sender, (*it2).signal,
(*it2).receiver, (*it2).slot );
}