summaryrefslogtreecommitdiffstats
path: root/src/gui/oscilloscope.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:35:31 +0900
committerMichele Calgaro <[email protected]>2023-12-31 22:21:10 +0900
commit4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d (patch)
tree08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/gui/oscilloscope.cpp
parenta082a2596013ce2dc791319f70d0371004a406a5 (diff)
downloadktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.tar.gz
ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65)
Diffstat (limited to 'src/gui/oscilloscope.cpp')
-rw-r--r--src/gui/oscilloscope.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/oscilloscope.cpp b/src/gui/oscilloscope.cpp
index 92c32bf..45042f6 100644
--- a/src/gui/oscilloscope.cpp
+++ b/src/gui/oscilloscope.cpp
@@ -72,21 +72,21 @@ Oscilloscope::Oscilloscope( KateMDI::ToolView * parent )
horizontalScroll->setLineStep(32);
horizontalScroll->setPageStep( oscilloscopeView->width() );
- connect( resetBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(reset()) );
- connect( zoomSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotZoomSliderChanged(int)) );
- connect( horizontalScroll, TQT_SIGNAL(valueChanged(int )), this, TQT_SLOT(slotSliderValueChanged(int )) );
+ connect( resetBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(reset()) );
+ connect( zoomSlider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotZoomSliderChanged(int)) );
+ connect( horizontalScroll, TQ_SIGNAL(valueChanged(int )), this, TQ_SLOT(slotSliderValueChanged(int )) );
-// connect( pauseBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotTogglePause()) );
+// connect( pauseBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotTogglePause()) );
TQTimer * updateScrollTmr = new TQTimer(this);
- connect( updateScrollTmr, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateScrollbars()) );
+ connect( updateScrollTmr, TQ_SIGNAL(timeout()), this, TQ_SLOT(updateScrollbars()) );
updateScrollTmr->start(20);
TDEGlobal::config()->setGroup("Oscilloscope");
setZoomLevel( TDEGlobal::config()->readDoubleNumEntry( "ZoomLevel", 0.5 ) );
- connect( this, TQT_SIGNAL(probeRegistered(int, ProbeData *)), probePositioner, TQT_SLOT(slotProbeDataRegistered(int, ProbeData *)) );
- connect( this, TQT_SIGNAL(probeUnregistered(int )), probePositioner, TQT_SLOT(slotProbeDataUnregistered(int )) );
+ connect( this, TQ_SIGNAL(probeRegistered(int, ProbeData *)), probePositioner, TQ_SLOT(slotProbeDataRegistered(int, ProbeData *)) );
+ connect( this, TQ_SIGNAL(probeUnregistered(int )), probePositioner, TQ_SLOT(slotProbeDataUnregistered(int )) );
}