]> Git Repo - VerusCoin.git/blame - src/qt/bitcoinaddressvalidator.h
Remove translation for -help-debug options
[VerusCoin.git] / src / qt / bitcoinaddressvalidator.h
CommitLineData
f914f1a7 1// Copyright (c) 2011-2014 The Bitcoin Core developers
78253fcb 2// Distributed under the MIT software license, see the accompanying
e592d43f
WL
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
84738627
PJ
5#ifndef BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
6#define BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
4d1bb15e 7
32af5266 8#include <QValidator>
4d1bb15e 9
c78bd937
PK
10/** Base58 entry widget validator, checks for valid characters and
11 * removes some whitespace.
dab03e34 12 */
c78bd937 13class BitcoinAddressEntryValidator : public QValidator
4d1bb15e
WL
14{
15 Q_OBJECT
32af5266 16
4d1bb15e 17public:
c78bd937 18 explicit BitcoinAddressEntryValidator(QObject *parent);
4d1bb15e 19
e457b021 20 State validate(QString &input, int &pos) const;
c78bd937
PK
21};
22
23/** Bitcoin address widget validator, checks for a valid bitcoin address.
24 */
25class BitcoinAddressCheckValidator : public QValidator
26{
27 Q_OBJECT
28
29public:
30 explicit BitcoinAddressCheckValidator(QObject *parent);
e457b021 31
c78bd937 32 State validate(QString &input, int &pos) const;
4d1bb15e
WL
33};
34
84738627 35#endif // BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
This page took 0.139331 seconds and 4 git commands to generate.