29 return QValidator::Intermediate;
32 for (
int idx = 0; idx < input.size();)
34 bool removeChar =
false;
35 QChar
ch = input.at(idx);
62 QValidator::State state = QValidator::Acceptable;
63 for (
int idx = 0; idx < input.size(); ++idx)
65 int ch = input.at(idx).unicode();
67 if (((ch >=
'0' && ch<=
'9') ||
68 (ch >=
'a' && ch<=
'z') ||
69 (ch >=
'A' && ch<=
'Z')) &&
70 ch !=
'l' && ch !=
'I' && ch !=
'0' && ch !=
'O')
76 state = QValidator::Invalid;
85 bAllowScript(allowScript)
97 return QValidator::Acceptable;
98 else if(!addr.IsScript())
99 return QValidator::Acceptable;
102 return QValidator::Invalid;
State validate(QString &input, int &pos) const
base58-encoded Fabcoin addresses.
State validate(QString &input, int &pos) const
FabcoinAddressEntryValidator(QObject *parent)
FabcoinAddressCheckValidator(QObject *parent, bool allowScript=true)
uint32_t ch(uint32_t x, uint32_t y, uint32_t z)