]> sigrok.org Git - pulseview.git/blobdiff - pv/view/ruler.cpp
Replaced using namespace with using class directives
[pulseview.git] / pv / view / ruler.cpp
index 8d7569e35b427769c191b76d0b50c009116ea156..aec3de979cf5171062df6777e78a42aaf4c74b03 100644 (file)
@@ -37,8 +37,8 @@
 
 #include <pv/widgets/popup.h>
 
-using namespace boost;
-using namespace std;
+using namespace Qt;
+using boost::shared_ptr;
 
 namespace pv {
 namespace view {
@@ -92,7 +92,6 @@ QSize Ruler::sizeHint() const
 
 void Ruler::paintEvent(QPaintEvent*)
 {
-       using namespace Qt;
 
        const double SpacingIncrement = 32.0f;
        const double MinValueSpacing = 32.0f;