X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursorpair.h;h=f7eb51cacaabe9a79cf2d715c487eed94f5ab222;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=815276e24c0ca997faf2af5e780da632cb6108eb;hpb=8debe10dd47a5f519cd6e9069231f8e77c9c04e1;p=pulseview.git diff --git a/pv/view/cursorpair.h b/pv/view/cursorpair.h index 815276e..f7eb51c 100644 --- a/pv/view/cursorpair.h +++ b/pv/view/cursorpair.h @@ -23,7 +23,7 @@ #include "cursor.h" -#include +#include #include @@ -47,12 +47,12 @@ public: /** * Returns a pointer to the first cursor. */ - boost::shared_ptr first() const; + std::shared_ptr first() const; /** * Returns a pointer to the second cursor. */ - boost::shared_ptr second() const; + std::shared_ptr second() const; public: QRectF get_label_rect(const QRect &rect) const; @@ -69,10 +69,10 @@ public: std::pair get_cursor_offsets() const; private: - boost::shared_ptr _first, _second; - const View &_view; + std::shared_ptr first_, second_; + const View &view_; - QSizeF _text_size; + QSizeF text_size_; }; } // namespace view