X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Flogicsignal.hpp;h=30dea6f4fb39c9d271c7448d44d52d2713d491ca;hb=aa5e914074b759c82974d1096f22164481eec006;hp=a4f64e6bddc83b09da242b85b94d9ee23d629775;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git diff --git a/pv/view/logicsignal.hpp b/pv/view/logicsignal.hpp index a4f64e6..30dea6f 100644 --- a/pv/view/logicsignal.hpp +++ b/pv/view/logicsignal.hpp @@ -57,7 +57,7 @@ private: static const QColor SignalColours[10]; public: - LogicSignal(pv::SigSession &session, + LogicSignal(pv::Session &session, std::shared_ptr device, std::shared_ptr channel, std::shared_ptr data); @@ -98,8 +98,10 @@ private: void init_trigger_actions(QWidget *parent); - QAction* match_action(const sigrok::TriggerMatchType *match); - const sigrok::TriggerMatchType *action_match(QAction *action); + QAction* action_from_trigger_type( + const sigrok::TriggerMatchType *match); + const sigrok::TriggerMatchType* trigger_type_from_action( + QAction *action); void populate_popup_form(QWidget *parent, QFormLayout *form); void modify_trigger();