projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make member variable underscores a suffix instead of a prefix
[pulseview.git]
/
pv
/
view
/
cursorpair.h
diff --git
a/pv/view/cursorpair.h
b/pv/view/cursorpair.h
index 815276e24c0ca997faf2af5e780da632cb6108eb..f7eb51cacaabe9a79cf2d715c487eed94f5ab222 100644
(file)
--- a/
pv/view/cursorpair.h
+++ b/
pv/view/cursorpair.h
@@
-23,7
+23,7
@@
#include "cursor.h"
#include "cursor.h"
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
#include <QPainter>
#include <QPainter>
@@
-47,12
+47,12
@@
public:
/**
* Returns a pointer to the first cursor.
*/
/**
* Returns a pointer to the first cursor.
*/
-
boost
::shared_ptr<Cursor> first() const;
+
std
::shared_ptr<Cursor> first() const;
/**
* Returns a pointer to the second cursor.
*/
/**
* Returns a pointer to the second cursor.
*/
-
boost
::shared_ptr<Cursor> second() const;
+
std
::shared_ptr<Cursor> second() const;
public:
QRectF get_label_rect(const QRect &rect) const;
public:
QRectF get_label_rect(const QRect &rect) const;
@@
-69,10
+69,10
@@
public:
std::pair<float, float> get_cursor_offsets() const;
private:
std::pair<float, float> get_cursor_offsets() const;
private:
-
boost::shared_ptr<Cursor> _first, _second
;
- const View &
_view
;
+
std::shared_ptr<Cursor> first_, second_
;
+ const View &
view_
;
- QSizeF
_text_size
;
+ QSizeF
text_size_
;
};
} // namespace view
};
} // namespace view