summaryrefslogtreecommitdiffstats
path: root/kalzium
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium')
-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() );