X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbool.hpp;h=ef0916f48523a533d228296549138cd786eb7c29;hp=965efc19eec32f06acd05773a8293b4ad54761e5;hb=8b9056d493c657e01fcea037eff6b477c1ec9253;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329 diff --git a/pv/prop/bool.hpp b/pv/prop/bool.hpp index 965efc19..ef0916f4 100644 --- a/pv/prop/bool.hpp +++ b/pv/prop/bool.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_PROP_BOOL_H -#define PULSEVIEW_PV_PROP_BOOL_H +#ifndef PULSEVIEW_PV_PROP_BOOL_HPP +#define PULSEVIEW_PV_PROP_BOOL_HPP #include "property.hpp" @@ -33,9 +32,9 @@ class Bool : public Property Q_OBJECT; public: - Bool(QString name, Getter getter, Setter setter); + Bool(QString name, QString desc, Getter getter, Setter setter); - virtual ~Bool(); + virtual ~Bool() = default; QWidget* get_widget(QWidget *parent, bool auto_commit); bool labeled_widget() const; @@ -49,7 +48,7 @@ private: QCheckBox *check_box_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv -#endif // PULSEVIEW_PV_PROP_BOOL_H +#endif // PULSEVIEW_PV_PROP_BOOL_HPP