license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / widgets / colourbutton.hpp
index d7f019a6c55ab96dcd2dbc90f6e72af1310c1918..820ca17f3e893c792f372d4f4c16747775674c7a 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H
-#define PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H
+#ifndef PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP
+#define PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP
 
 #include <QPushButton>
 
@@ -47,7 +46,7 @@ public:
        void set_palette(const QColor *const palette);
 
 private:
-       void paintEvent(QPaintEvent *e);
+       void paintEvent(QPaintEvent *event);
 
 private Q_SLOTS:
        void on_clicked(bool);
@@ -65,4 +64,4 @@ private:
 } // widgets
 } // pv
 
-#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H
+#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP