mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
9 lines
287 B
C++
9 lines
287 B
C++
|
|
#include "bitcoinaddressvalidator.h"
|
||
|
|
|
||
|
|
const QString BitcoinAddressValidator::valid_chars = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ";
|
||
|
|
|
||
|
|
BitcoinAddressValidator::BitcoinAddressValidator(QObject *parent) :
|
||
|
|
QRegExpValidator(QRegExp("^["+valid_chars+"]+"), parent)
|
||
|
|
{
|
||
|
|
}
|