X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fprop%2Fbool.hpp;h=310eec6f06444af6905141568e1027b90b864931;hb=e6c8d58bde2c32f0ee8b73c5577505736caf8e23;hp=dada54dbf4816ceb71c81af36393257ab7180f6f;hpb=c6246dc56ed01d7e99aa65ab88b8c191300b1ebd;p=pulseview.git diff --git a/pv/prop/bool.hpp b/pv/prop/bool.hpp index dada54db..310eec6f 100644 --- a/pv/prop/bool.hpp +++ b/pv/prop/bool.hpp @@ -14,8 +14,7 @@ * 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_HPP @@ -30,15 +29,16 @@ namespace prop { class Bool : public Property { - Q_OBJECT; + Q_OBJECT public: - Bool(QString name, Getter getter, Setter setter); + Bool(QString name, QString desc, Getter getter, Setter setter); virtual ~Bool() = default; QWidget* get_widget(QWidget *parent, bool auto_commit); bool labeled_widget() const; + void update_widget(); void commit(); @@ -49,7 +49,7 @@ private: QCheckBox *check_box_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_BOOL_HPP