aboutsummaryrefslogtreecommitdiff
path: root/bitcoinaddressvalidator.cpp
blob: 408027b4d5b148b20739a114726a3fdc6d8e6fdb (plain)
1
2
3
4
5
6
7
8
#include "bitcoinaddressvalidator.h"

const QString BitcoinAddressValidator::valid_chars = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ";

BitcoinAddressValidator::BitcoinAddressValidator(QObject *parent) :
    QRegExpValidator(QRegExp("^["+valid_chars+"]+"), parent)
{
}