Make member variable underscores a suffix instead of a prefix
[pulseview.git] / pv / popups / deviceoptions.h
index deedf587854c5af7570643c1892af4d93a65bf80..5fb60fc74d081c00e8efe35aeea3f593290d706c 100644 (file)
 #include <pv/prop/binding/deviceoptions.h>
 #include <pv/widgets/popup.h>
 
+namespace sigrok {
+       class Device;
+}
+
 namespace pv {
 namespace popups {
 
@@ -35,17 +39,17 @@ class DeviceOptions : public pv::widgets::Popup
        Q_OBJECT
 
 public:
-       DeviceOptions(std::shared_ptr<device::DevInst> dev_inst,
+       DeviceOptions(std::shared_ptr<sigrok::Device> device,
                QWidget *parent);
 
        pv::prop::binding::DeviceOptions& binding();
 
 private:
-       std::shared_ptr<device::DevInst> _dev_inst;
+       std::shared_ptr<sigrok::Device> device_;
 
-       QVBoxLayout _layout;
+       QVBoxLayout layout_;
 
-       pv::prop::binding::DeviceOptions _binding;
+       pv::prop::binding::DeviceOptions binding_;
 };
 
 } // namespace popups