Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
bitcoinaddressvalidator.h
Go to the documentation of this file.
1 #ifndef BITCOINADDRESSVALIDATOR_H
2 #define BITCOINADDRESSVALIDATOR_H
3 
4 #include <QValidator>
5 
9 class BitcoinAddressValidator : public QValidator
10 {
11  Q_OBJECT
12 
13 public:
14  explicit BitcoinAddressValidator(QObject *parent = 0);
15 
16  State validate(QString &input, int &pos) const;
17 
18  static const int MaxAddressLength = 35;
19 };
20 
21 #endif // BITCOINADDRESSVALIDATOR_H
State validate(QString &input, int &pos) const
BitcoinAddressValidator(QObject *parent=0)
Base58 entry widget validator.