Remove includes in .cpp files for things the corresponding .h file already included
[bitcoinplatinum.git] / src / qt / bitcoinaddressvalidator.h
blob30d4a26d0e756266e7df790961f9548174252351
1 // Copyright (c) 2011-2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
6 #define BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
8 #include <QValidator>
10 /** Base58 entry widget validator, checks for valid characters and
11 * removes some whitespace.
13 class BitcoinAddressEntryValidator : public QValidator
15 Q_OBJECT
17 public:
18 explicit BitcoinAddressEntryValidator(QObject *parent);
20 State validate(QString &input, int &pos) const;
23 /** Bitcoin address widget validator, checks for a valid bitcoin address.
25 class BitcoinAddressCheckValidator : public QValidator
27 Q_OBJECT
29 public:
30 explicit BitcoinAddressCheckValidator(QObject *parent);
32 State validate(QString &input, int &pos) const;
35 #endif // BITCOIN_QT_BITCOINADDRESSVALIDATOR_H