X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fstring.hpp;h=8282cb7f5928616fb2b64da1b5420c6439948458;hb=f4ab4b5c657e5613caba82feaa81a8a400e4f331;hp=db57f7cd526d40a8c1efaf7323dc46098a1aad8f;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329;p=pulseview.git diff --git a/pv/prop/string.hpp b/pv/prop/string.hpp index db57f7c..8282cb7 100644 --- a/pv/prop/string.hpp +++ b/pv/prop/string.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_STRING_H -#define PULSEVIEW_PV_PROP_STRING_H +#ifndef PULSEVIEW_PV_PROP_STRING_HPP +#define PULSEVIEW_PV_PROP_STRING_HPP #include "property.hpp" @@ -33,9 +32,10 @@ class String : public Property 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_H +#endif // PULSEVIEW_PV_PROP_STRING_HPP