X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fwidgets%2Fcolourbutton.hpp;h=9dbb2b27e2076baca4bbf77de14fcce1a8ec49c0;hb=379f6ccf486b331a809dde730695af26ec85991d;hp=d7f019a6c55ab96dcd2dbc90f6e72af1310c1918;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git diff --git a/pv/widgets/colourbutton.hpp b/pv/widgets/colourbutton.hpp index d7f019a..9dbb2b2 100644 --- a/pv/widgets/colourbutton.hpp +++ b/pv/widgets/colourbutton.hpp @@ -14,12 +14,11 @@ * 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 . */ -#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 @@ -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); @@ -62,7 +61,7 @@ private: QColor cur_colour_; }; -} // widgets -} // pv +} // namespace widgets +} // namespace pv -#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_H +#endif // PULSEVIEW_PV_WIDGETS_COLOURBUTTON_HPP