summaryrefslogtreecommitdiffstats
path: root/kalzium/src
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:19:13 +0900
commitbcee6c3261309f13cf2ca0ad1d9ddc8ee5624d7a (patch)
tree0c81e36cc908785f3f54b84c01949715558c53e6 /kalzium/src
parente25be387c170de2528fc2134604ffab9ac26a931 (diff)
downloadtdeedu-bcee6c32.tar.gz
tdeedu-bcee6c32.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6)
Diffstat (limited to 'kalzium/src')
-rw-r--r--kalzium/src/periodictableview.cpp2
-rw-r--r--kalzium/src/spectrumwidget.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/periodictableview.cpp b/kalzium/src/periodictableview.cpp
index d1e20339..94d32575 100644
--- a/kalzium/src/periodictableview.cpp
+++ b/kalzium/src/periodictableview.cpp
@@ -417,7 +417,7 @@ void PerodicTableView::paintCurrentSelection()
p.begin(table);
TQPen pen;
- pen.setStyle( Qt::DotLine );
+ pen.setStyle( TQt::DotLine );
pen.setWidth( 4 );
pen.setColor( TQt::blue );
p.setPen( pen );
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() );