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-29 16:35:31 +0900 |
| commit | 671d0469ada4df2d833d41d065793a06f4d87a65 (patch) | |
| tree | 08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/electronics/switch.cpp | |
| parent | 15796910975130bce11a662cbe259913d791942f (diff) | |
| download | ktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.tar.gz ktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/electronics/switch.cpp')
| -rw-r--r-- | src/electronics/switch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electronics/switch.cpp b/src/electronics/switch.cpp index 581b5b1..eb5d672 100644 --- a/src/electronics/switch.cpp +++ b/src/electronics/switch.cpp @@ -33,7 +33,7 @@ Switch::Switch( Component * parent, Pin * p1, Pin * p2, State state ) m_pP2 = p2; m_pComponent = parent; m_pStopBouncingTimer = new TQTimer( this ); - connect( m_pStopBouncingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(stopBouncing()) ); + connect( m_pStopBouncingTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(stopBouncing()) ); // Force update m_state = (state == Open) ? Closed : Open; |
