diff options
Diffstat (limited to 'noatun/modules/winskin/guiSpectrumAnalyser.cpp')
-rw-r--r-- | noatun/modules/winskin/guiSpectrumAnalyser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/winskin/guiSpectrumAnalyser.cpp b/noatun/modules/winskin/guiSpectrumAnalyser.cpp index 583266e0..cab5be35 100644 --- a/noatun/modules/winskin/guiSpectrumAnalyser.cpp +++ b/noatun/modules/winskin/guiSpectrumAnalyser.cpp @@ -72,13 +72,13 @@ GuiSpectrumAnalyser::~GuiSpectrumAnalyser() void GuiSpectrumAnalyser::mousePressEvent ( TQMouseEvent *e ) { - if (e->button() == LeftButton) { + if (e->button() == Qt::LeftButton) { if (visualization_mode == MODE_DISABLED) setVisualizationMode(MODE_ANALYSER); else setVisualizationMode(MODE_DISABLED); } - else if (e->button() == RightButton) { + else if (e->button() == Qt::RightButton) { contextMenu->popup(mapToGlobal(TQPoint(e->x(), e->y()))); } } @@ -138,7 +138,7 @@ void GuiSpectrumAnalyser::setVisualizationMode(int mode) { if (!winSkinVis) { - winSkinVis=new WinSkinVis(this,"WinSkinVis"); + winSkinVis=new WinSkinVis(TQT_TQOBJECT(this),"WinSkinVis"); connect(winSkinVis,TQT_SIGNAL(doRepaint()),this,TQT_SLOT(updatePeaks())); } } |