X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.cpp;h=df9113679d2d5ddddd67c169778ea4820166cddc;hp=3d069f799e1f40f9a6066148804c9e73f687109c;hb=09f55d9665efb3b17ba7de4bae47be6989e884fe;hpb=e8d009288de28cb194bc7964f96677c2baf900c9 diff --git a/pv/popups/deviceoptions.cpp b/pv/popups/deviceoptions.cpp index 3d069f79..df911367 100644 --- a/pv/popups/deviceoptions.cpp +++ b/pv/popups/deviceoptions.cpp @@ -14,18 +14,17 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ -#include "deviceoptions.h" +#include "deviceoptions.hpp" #include #include -#include +#include -#include +#include using std::shared_ptr; @@ -36,18 +35,18 @@ namespace popups { DeviceOptions::DeviceOptions(shared_ptr device, QWidget *parent) : Popup(parent), - _device(device), - _layout(this), - _binding(device) + device_(device), + layout_(this), + binding_(device) { - setLayout(&_layout); + setLayout(&layout_); - _layout.addWidget(_binding.get_property_form(this, true)); + layout_.addWidget(binding_.get_property_form(this, true)); } -pv::prop::binding::DeviceOptions& DeviceOptions::binding() +pv::binding::Device& DeviceOptions::binding() { - return _binding; + return binding_; } } // namespace popups