summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/ConstellationDisplayPlot.h
diff options
context:
space:
mode:
authorJosh Blum2011-10-17 07:35:56 -0700
committerJosh Blum2011-10-17 07:35:56 -0700
commit41ce01bd6f602009b83422550b0b91bddd830c84 (patch)
tree133899a93985441c97f8ed2f566e71ada32a0681 /gr-qtgui/lib/ConstellationDisplayPlot.h
parent5179a1ead31e678d575890fb2e413c62bf00c255 (diff)
parenta4dbd973fc6376bacf3c45e63aba61a471c468b3 (diff)
downloadgnuradio-41ce01bd6f602009b83422550b0b91bddd830c84.tar.gz
gnuradio-41ce01bd6f602009b83422550b0b91bddd830c84.tar.bz2
gnuradio-41ce01bd6f602009b83422550b0b91bddd830c84.zip
Merge branch 'next' of http://gnuradio.org/git/gnuradio into next
Diffstat (limited to 'gr-qtgui/lib/ConstellationDisplayPlot.h')
-rw-r--r--gr-qtgui/lib/ConstellationDisplayPlot.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-qtgui/lib/ConstellationDisplayPlot.h b/gr-qtgui/lib/ConstellationDisplayPlot.h
index 23004f86c..d252a8c87 100644
--- a/gr-qtgui/lib/ConstellationDisplayPlot.h
+++ b/gr-qtgui/lib/ConstellationDisplayPlot.h
@@ -38,6 +38,11 @@
#include <qwt_symbol.h>
#include <qtgui_util.h>
+#if QWT_VERSION >= 0x060000
+#include <qwt_point_3d.h> // doesn't seem necessary, but is...
+#include <qwt_compat.h>
+#endif
+
class ConstellationDisplayPlot : public QwtPlot
{
Q_OBJECT
@@ -62,7 +67,11 @@ public:
public slots:
void resizeSlot( QSize *s );
+#if QWT_VERSION < 0x060000
void OnPickerPointSelected(const QwtDoublePoint & p);
+#else
+ void OnPickerPointSelected(const QPointF & p);
+#endif
signals:
void plotPointSelected(const QPointF p);