Fix clazy warnings regarding range-for references
[pulseview.git] / pv / widgets / sweeptimingwidget.hpp
index e9e4dcff9d5e05c898447670800d575d7872e11d..46d12d8e1e47c79687e4c8796bce51c762bf6ccc 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_WIDGETS_SWEEPTIMINGWIDGET_HPP
@@ -47,6 +46,8 @@ private:
 public:
        SweepTimingWidget(const char *suffix, QWidget *parent = nullptr);
 
+       void allow_user_entered_values(bool value);
+
        void show_none();
        void show_min_max_step(uint64_t min, uint64_t max, uint64_t step);
        void show_list(const uint64_t *vals, size_t count);
@@ -69,7 +70,7 @@ private:
        ValueType value_type_;
 };
 
-} // widgets
-} // pv
+}  // namespace widgets
+}  // namespace pv
 
 #endif // PULSEVIEW_PV_WIDGETS_SWEEPTIMINGWIDGET_HPP