summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/TimeDomainDisplayPlot.h
diff options
context:
space:
mode:
authorTom Rondeau2011-10-17 13:37:04 -0400
committerTom Rondeau2011-10-17 13:37:04 -0400
commitfef3fe57c75ce6011c87bc894472639d385fcb21 (patch)
tree8a11749b2a06a8fa5d42af9911cf556d1c41c608 /gr-qtgui/lib/TimeDomainDisplayPlot.h
parent07324710bdf7eba63417e5591ff37c7641a3f7ab (diff)
parenta4dbd973fc6376bacf3c45e63aba61a471c468b3 (diff)
downloadgnuradio-fef3fe57c75ce6011c87bc894472639d385fcb21.tar.gz
gnuradio-fef3fe57c75ce6011c87bc894472639d385fcb21.tar.bz2
gnuradio-fef3fe57c75ce6011c87bc894472639d385fcb21.zip
Merge branch 'next' into dig_ofdm
Diffstat (limited to 'gr-qtgui/lib/TimeDomainDisplayPlot.h')
-rw-r--r--gr-qtgui/lib/TimeDomainDisplayPlot.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gr-qtgui/lib/TimeDomainDisplayPlot.h b/gr-qtgui/lib/TimeDomainDisplayPlot.h
index af87e1b14..6c7fc4330 100644
--- a/gr-qtgui/lib/TimeDomainDisplayPlot.h
+++ b/gr-qtgui/lib/TimeDomainDisplayPlot.h
@@ -39,6 +39,10 @@
#include <qwt_symbol.h>
#include <qtgui_util.h>
+#if QWT_VERSION >= 0x060000
+#include <qwt_compat.h>
+#endif
+
class TimeDomainDisplayPlot:public QwtPlot{
Q_OBJECT
@@ -61,7 +65,11 @@ public slots:
void SetSampleRate(double sr, double units,
const std::string &strunits);
+#if QWT_VERSION < 0x060000
void OnPickerPointSelected(const QwtDoublePoint & p);
+#else
+ void OnPickerPointSelected(const QPointF & p);
+#endif
signals:
void plotPointSelected(const QPointF p);