]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/bool.hpp
Don't use deprecated headers.
[pulseview.git] / pv / prop / bool.hpp
index 965efc19eec32f06acd05773a8293b4ad54761e5..7e24e55576f88b03cdf38a945221cf61d25a16bc 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_PROP_BOOL_H
-#define PULSEVIEW_PV_PROP_BOOL_H
+#ifndef PULSEVIEW_PV_PROP_BOOL_HPP
+#define PULSEVIEW_PV_PROP_BOOL_HPP
 
 #include "property.hpp"
 
@@ -35,7 +34,7 @@ class Bool : public Property
 public:
        Bool(QString name, Getter getter, Setter setter);
 
-       virtual ~Bool();
+       virtual ~Bool() = default;
 
        QWidget* get_widget(QWidget *parent, bool auto_commit);
        bool labeled_widget() const;
@@ -52,4 +51,4 @@ private:
 } // prop
 } // pv
 
-#endif // PULSEVIEW_PV_PROP_BOOL_H
+#endif // PULSEVIEW_PV_PROP_BOOL_HPP