2011-05-13 22:00:27 +02:00
|
|
|
#ifndef BITCOINADDRESSVALIDATOR_H
|
|
|
|
#define BITCOINADDRESSVALIDATOR_H
|
|
|
|
|
|
|
|
#include <QRegExpValidator>
|
|
|
|
|
2011-05-14 10:31:46 +02:00
|
|
|
#include <base58.h>
|
|
|
|
|
2011-05-13 22:00:27 +02:00
|
|
|
class BitcoinAddressValidator : public QRegExpValidator
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit BitcoinAddressValidator(QObject *parent = 0);
|
|
|
|
|
|
|
|
static const QString valid_chars;
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BITCOINADDRESSVALIDATOR_H
|