summaryrefslogtreecommitdiffstats
path: root/kalzium/src/spectrumwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:38:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:17:57 +0900
commitc8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6 (patch)
tree546585ccc13868dc2e89ed4728a4911123bd3849 /kalzium/src/spectrumwidget.cpp
parent402e94ba9dc2f1ac6e929b18919e9c31c228b47e (diff)
downloadtdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.tar.gz
tdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kalzium/src/spectrumwidget.cpp')
-rw-r--r--kalzium/src/spectrumwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kalzium/src/spectrumwidget.cpp b/kalzium/src/spectrumwidget.cpp
index 88355a1c..66bfce27 100644
--- a/kalzium/src/spectrumwidget.cpp
+++ b/kalzium/src/spectrumwidget.cpp
@@ -320,9 +320,9 @@ void SpectrumWidget::mouseMoveEvent( TQMouseEvent *e )
void SpectrumWidget::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
m_LMBPointPress = e->pos();
- if ( e->button() == Qt::RightButton )
+ if ( e->button() == TQt::RightButton )
slotZoomOut();
//FIXME
//the tooltip is not really working. Better to not have it
@@ -391,7 +391,7 @@ void SpectrumWidget::drawTooltip( TQPainter *p )
void SpectrumWidget::mouseReleaseEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
{
int left = (int)Wavelength( ( double )m_LMBPointPress.x()/width() );
int right = (int)Wavelength( ( double )e->pos().x()/width() );