]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/string.hpp
AnalogSignal: Use setting change handler for threshold display
[pulseview.git] / pv / prop / string.hpp
index 9cd927868707ec61d1863f48de70e6193207d584..8ce8be61ef6312f67842b9b4981d5e0d29a0895c 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #ifndef PULSEVIEW_PV_PROP_STRING_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_HPP