* 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/>.
*/
-#include "sweeptimingwidget.h"
+#include "sweeptimingwidget.hpp"
#include <cstdlib>
-
#include <vector>
-
-#include <assert.h>
+#include <cassert>
#include <extdef.h>
value_type_ = List;
list_.clear();
- for (size_t i = 0; i < count; i++)
- {
+ for (size_t i = 0; i < count; i++) {
char *const s = sr_si_string_u64(vals[i], suffix_);
list_.addItem(QString::fromUtf8(s),
qVariantFromValue(vals[i]));
uint64_t SweepTimingWidget::value() const
{
- switch(value_type_)
- {
+ switch(value_type_) {
case None:
return 0;