diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:35:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:21:10 +0900 |
commit | 4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d (patch) | |
tree | 08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/circuitdocument.cpp | |
parent | a082a2596013ce2dc791319f70d0371004a406a5 (diff) | |
download | ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.tar.gz ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65)
Diffstat (limited to 'src/circuitdocument.cpp')
-rw-r--r-- | src/circuitdocument.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/circuitdocument.cpp b/src/circuitdocument.cpp index 31aef66..6f51d2a 100644 --- a/src/circuitdocument.cpp +++ b/src/circuitdocument.cpp @@ -49,11 +49,11 @@ CircuitDocument::CircuitDocument( const TQString & caption, KTechlab *ktechlab, m_cmManager->addManipulatorInfo( CMItemResize::manipulatorInfo() ); m_cmManager->addManipulatorInfo( CMItemDrag::manipulatorInfo() ); - connect( this, TQT_SIGNAL(connectorAdded(Connector*)), this, TQT_SLOT(requestAssignCircuits()) ); - connect( this, TQT_SIGNAL(connectorAdded(Connector*)), this, TQT_SLOT(connectorAdded(Connector*)) ); + connect( this, TQ_SIGNAL(connectorAdded(Connector*)), this, TQ_SLOT(requestAssignCircuits()) ); + connect( this, TQ_SIGNAL(connectorAdded(Connector*)), this, TQ_SLOT(connectorAdded(Connector*)) ); m_updateCircuitsTmr = new TQTimer(); - connect( m_updateCircuitsTmr, TQT_SIGNAL(timeout()), this, TQT_SLOT(assignCircuits()) ); + connect( m_updateCircuitsTmr, TQ_SIGNAL(timeout()), this, TQ_SLOT(assignCircuits()) ); requestStateSave(); } @@ -267,8 +267,8 @@ void CircuitDocument::connectorAdded( Connector * connector ) { if (connector) { - connect( connector, TQT_SIGNAL(numWiresChanged(unsigned )), this, TQT_SLOT(requestAssignCircuits()) ); - connect( connector, TQT_SIGNAL(removed(Connector*)), this, TQT_SLOT(requestAssignCircuits()) ); + connect( connector, TQ_SIGNAL(numWiresChanged(unsigned )), this, TQ_SLOT(requestAssignCircuits()) ); + connect( connector, TQ_SIGNAL(removed(Connector*)), this, TQ_SLOT(requestAssignCircuits()) ); } } @@ -288,9 +288,9 @@ void CircuitDocument::componentAdded( Item * item ) requestAssignCircuits(); - connect( component, TQT_SIGNAL(elementCreated(Element*)), this, TQT_SLOT(requestAssignCircuits()) ); - connect( component, TQT_SIGNAL(elementDestroyed(Element*)), this, TQT_SLOT(requestAssignCircuits()) ); - connect( component, TQT_SIGNAL(removed(Item*)), this, TQT_SLOT(componentRemoved(Item*)) ); + connect( component, TQ_SIGNAL(elementCreated(Element*)), this, TQ_SLOT(requestAssignCircuits()) ); + connect( component, TQ_SIGNAL(elementDestroyed(Element*)), this, TQ_SLOT(requestAssignCircuits()) ); + connect( component, TQ_SIGNAL(removed(Item*)), this, TQ_SLOT(componentRemoved(Item*)) ); // We don't attach the component to the Simulator just yet, as the // Component's vtable is not yet fully constructed, and so Simulator can't |