X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.h;h=c02dab159dbecb93c03a9f5a2b921012e6d82c40;hp=616221b23ba139afd1992b9ac7d6acc9332db1d8;hb=3efda736308edc11468a4b59bdb28d5793902529;hpb=e072efc8aa62ff67bc7270515159e2f71f43d9f0 diff --git a/pv/view/timemarker.h b/pv/view/timemarker.h index 616221b2..c02dab15 100644 --- a/pv/view/timemarker.h +++ b/pv/view/timemarker.h @@ -22,6 +22,7 @@ #define PULSEVIEW_PV_VIEW_MARKER_H #include +#include class QPainter; class QRect; @@ -31,8 +32,10 @@ namespace view { class View; -class TimeMarker +class TimeMarker : public QObject { + Q_OBJECT + protected: /** * Constructor. @@ -42,6 +45,11 @@ protected: */ TimeMarker(const View &view, const QColor &colour, double time); + /** + * Copy constructor + */ + TimeMarker(const TimeMarker &s); + public: /** * Gets the time of the marker.