X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fprop%2Fstring.hpp;h=3e303568309e2449f1b1c564fb325770d9c60465;hb=4efbe9b6675847dcf670bbdbe86f320e5321be09;hp=9cd927868707ec61d1863f48de70e6193207d584;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f;p=pulseview.git diff --git a/pv/prop/string.hpp b/pv/prop/string.hpp index 9cd92786..3e303568 100644 --- a/pv/prop/string.hpp +++ b/pv/prop/string.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_STRING_HPP @@ -30,12 +29,13 @@ namespace prop { class String : public Property { - Q_OBJECT; + Q_OBJECT public: - String(QString name, Getter getter, Setter setter); + String(QString name, QString desc, Getter getter, Setter setter); QWidget* get_widget(QWidget *parent, bool auto_commit); + void update_widget(); void commit(); @@ -46,7 +46,7 @@ private: QLineEdit *line_edit_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_STRING_HPP