X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fstring.hpp;h=8ce8be61ef6312f67842b9b4981d5e0d29a0895c;hp=db57f7cd526d40a8c1efaf7323dc46098a1aad8f;hb=2601ce965fc455d23f5a964b84ddd74eb93705c4;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329 diff --git a/pv/prop/string.hpp b/pv/prop/string.hpp index db57f7cd..8ce8be61 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,7 +32,7 @@ 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); @@ -46,7 +45,7 @@ private: QLineEdit *line_edit_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv -#endif // PULSEVIEW_PV_PROP_STRING_H +#endif // PULSEVIEW_PV_PROP_STRING_HPP