]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/popup.hpp
Standardize on 'event' as name for all Qt events.
[pulseview.git] / pv / widgets / popup.hpp
index 83ad7ee0fbd082ebb533fe7dafa280b6944d6a04..84def1fe90eee3171a4914a0cc4157e47c85de5d 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_WIDGETS_POPUP_H
-#define PULSEVIEW_PV_WIDGETS_POPUP_H
+#ifndef PULSEVIEW_PV_WIDGETS_POPUP_HPP
+#define PULSEVIEW_PV_WIDGETS_POPUP_HPP
 
 #include <QWidget>
 
@@ -52,7 +52,7 @@ public:
 
        void set_position(const QPoint point, Position pos);
 
-       bool eventFilter(QObject *obj, QEvent *evt);
+       bool eventFilter(QObject *obj, QEvent *event);
 
        void show();
 
@@ -78,10 +78,10 @@ private:
 
        void resizeEvent(QResizeEvent*);
 
-       void mouseReleaseEvent(QMouseEvent *e);
+       void mouseReleaseEvent(QMouseEvent *event);
 
 protected:
-       void showEvent(QShowEvent *e);
+       void showEvent(QShowEvent *);
 
 Q_SIGNALS:
        void closed();
@@ -94,4 +94,4 @@ private:
 } // namespace widgets
 } // namespace pv
 
-#endif // PULSEVIEW_PV_WIDGETS_POPUP_H
+#endif // PULSEVIEW_PV_WIDGETS_POPUP_HPP