]> sigrok.org Git - pulseview.git/blobdiff - pv/view/trace.h
RowItem: Make label_rect a const function
[pulseview.git] / pv / view / trace.h
index ef327edb29a0207fb660c7b915f46b23487573f9..7fd8c67afb8e917a5384d27fe87b61edd996c7b0 100644 (file)
@@ -56,7 +56,7 @@ public:
        /**
         * Gets the name of this signal.
         */
-       QString get_name() const;
+       QString name() const;
 
        /**
         * Sets the name of the signal.
@@ -66,7 +66,7 @@ public:
        /**
         * Get the colour of the signal.
         */
-       QColor get_colour() const;
+       QColor colour() const;
 
        /**
         * Set the colour of the signal.
@@ -92,7 +92,7 @@ public:
         *      area.
         * @return Returns the rectangle of the signal label.
         */
-       QRectF label_rect(int right);
+       QRectF label_rect(int right) const;
 
 protected: