]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/tracegroup.hpp
Fix some clang-tidy complaints
[pulseview.git] / pv / views / trace / tracegroup.hpp
index 48b1bf23bcaf4424acbcffb212812253ebbff6bf..b41db6bca2bcbf0f41f7e85a583f25e82a9522e9 100644 (file)
@@ -17,8 +17,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACEGROUP_HPP
-#define PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACEGROUP_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACE_TRACEGROUP_HPP
+#define PULSEVIEW_PV_VIEWS_TRACE_TRACEGROUP_HPP
 
 #include "tracetreeitem.hpp"
 #include "tracetreeitemowner.hpp"
@@ -37,7 +37,7 @@ private:
        static const int Padding;
        static const int Width;
        static const int LineThickness;
-       static const QColor LineColour;
+       static const QColor LineColor;
 
 public:
        /**
@@ -102,7 +102,7 @@ public:
         */
        bool pt_in_label_rect(int left, int right, const QPoint &point);
 
-       QMenu* create_context_menu(QWidget *parent);
+       QMenu* create_header_context_menu(QWidget *parent);
 
        pv::widgets::Popup* create_popup(QWidget *parent);
 
@@ -131,4 +131,4 @@ private Q_SLOTS:
 } // namespace views
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACEGROUP_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACE_TRACEGROUP_HPP