Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
bitcoinaddressvalidator.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOINADDRESSVALIDATOR_H
6 #define BITCOINADDRESSVALIDATOR_H
7 
8 #include <QValidator>
9 
14 {
15  Q_OBJECT
16 
17 public:
18  explicit BitcoinAddressEntryValidator(QObject *parent);
19 
20  State validate(QString &input, int &pos) const;
21 };
22 
26 {
27  Q_OBJECT
28 
29 public:
30  explicit BitcoinAddressCheckValidator(QObject *parent);
31 
32  State validate(QString &input, int &pos) const;
33 };
34 
35 #endif // BITCOINADDRESSVALIDATOR_H
BitcoinAddressEntryValidator(QObject *parent)
State validate(QString &input, int &pos) const
Base58 entry widget validator, checks for valid characters and removes some whitespace.
State validate(QString &input, int &pos) const
Bitcoin address widget validator, checks for a valid bitcoin address.