kevacoin/bitcoinaddressvalidator.cpp
Wladimir J. van der Laan 4d1bb15e31 more improvements
2011-05-13 22:00:27 +02:00

9 lines
287 B
C++

#include "bitcoinaddressvalidator.h"
const QString BitcoinAddressValidator::valid_chars = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ";
BitcoinAddressValidator::BitcoinAddressValidator(QObject *parent) :
QRegExpValidator(QRegExp("^["+valid_chars+"]+"), parent)
{
}