@@ -31,7 +31,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3131#include < QLineEdit>
3232#include < QRadioButton>
3333#include < QRegExp>
34- #include < QRegExpValidator>
34+ #include < QRegularExpression>
35+ #include < QRegularExpressionValidator>
3536#include < cstring>
3637#include < limits>
3738#include < type_traits>
@@ -56,10 +57,10 @@ void DialogEditSimdRegister::setupEntries(const QString &label, std::array<Numbe
5657
5758DialogEditSimdRegister::DialogEditSimdRegister (QWidget *parent, Qt::WindowFlags f)
5859 : QDialog(parent, f),
59- byteHexValidator_ (new QRegExpValidator(QRegExp (" [0-9a-fA-F]{0,2}" ), this)),
60- wordHexValidator_(new QRegExpValidator(QRegExp (" [0-9a-fA-F]{0,4}" ), this)),
61- dwordHexValidator_(new QRegExpValidator(QRegExp (" [0-9a-fA-F]{0,8}" ), this)),
62- qwordHexValidator_(new QRegExpValidator(QRegExp (" [0-9a-fA-F]{0,16}" ), this)),
60+ byteHexValidator_ (new QRegularExpressionValidator(QRegularExpression (" [0-9a-fA-F]{0,2}" ), this)),
61+ wordHexValidator_(new QRegularExpressionValidator(QRegularExpression (" [0-9a-fA-F]{0,4}" ), this)),
62+ dwordHexValidator_(new QRegularExpressionValidator(QRegularExpression (" [0-9a-fA-F]{0,8}" ), this)),
63+ qwordHexValidator_(new QRegularExpressionValidator(QRegularExpression (" [0-9a-fA-F]{0,16}" ), this)),
6364 byteSignedValidator_(new QLongValidator(INT8_MIN, INT8_MAX, this )),
6465 wordSignedValidator_(new QLongValidator(INT16_MIN, INT16_MAX, this )),
6566 dwordSignedValidator_(new QLongValidator(INT32_MIN, INT32_MAX, this )),
0 commit comments