X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fview%2Fflag.hpp;h=af4c7b9d15012ee89e691dfee9eeea13c1c20c90;hb=48257a69ffad409c9893605d99cd6e15161dff4f;hp=265621029d3ec99797a26f465abc893b55659c2d;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f;p=pulseview.git diff --git a/pv/view/flag.hpp b/pv/view/flag.hpp index 26562102..af4c7b9d 100644 --- a/pv/view/flag.hpp +++ b/pv/view/flag.hpp @@ -45,7 +45,7 @@ public: * @param time The time to set the flag to. * @param text The text of the marker. */ - Flag(View &view, double time, const QString &text); + Flag(View &view, const pv::util::Timestamp& time, const QString &text); /** * Copy constructor. @@ -68,6 +68,8 @@ public: void delete_pressed(); + void drag_by(const QPoint &delta); + private Q_SLOTS: void on_delete();