]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/string.hpp
Fix random clazy warnings
[pulseview.git] / pv / prop / string.hpp
index 9cd927868707ec61d1863f48de70e6193207d584..8282cb7f5928616fb2b64da1b5420c6439948458 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,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_HPP