Bitcoin Core
28.99.0
P2P Digital Currency
src
qt
bitcoinaddressvalidator.h
Go to the documentation of this file.
1
// Copyright (c) 2011-2020 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.
4
5
#ifndef BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
6
#define BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
7
8
#include <QValidator>
9
13
class
BitcoinAddressEntryValidator
:
public
QValidator
14
{
15
Q_OBJECT
16
17
public
:
18
explicit
BitcoinAddressEntryValidator
(QObject *parent);
19
20
State
validate
(QString &input,
int
&pos)
const override
;
21
};
22
25
class
BitcoinAddressCheckValidator
:
public
QValidator
26
{
27
Q_OBJECT
28
29
public
:
30
explicit
BitcoinAddressCheckValidator
(QObject *parent);
31
32
State
validate
(QString &input,
int
&pos)
const override
;
33
};
34
35
#endif
// BITCOIN_QT_BITCOINADDRESSVALIDATOR_H
BitcoinAddressCheckValidator
Bitcoin address widget validator, checks for a valid bitcoin address.
Definition:
bitcoinaddressvalidator.h:26
BitcoinAddressCheckValidator::validate
State validate(QString &input, int &pos) const override
Definition:
bitcoinaddressvalidator.cpp:88
BitcoinAddressCheckValidator::BitcoinAddressCheckValidator
BitcoinAddressCheckValidator(QObject *parent)
Definition:
bitcoinaddressvalidator.cpp:83
BitcoinAddressEntryValidator
Base58 entry widget validator, checks for valid characters and removes some whitespace.
Definition:
bitcoinaddressvalidator.h:14
BitcoinAddressEntryValidator::validate
State validate(QString &input, int &pos) const override
Definition:
bitcoinaddressvalidator.cpp:23
BitcoinAddressEntryValidator::BitcoinAddressEntryValidator
BitcoinAddressEntryValidator(QObject *parent)
Definition:
bitcoinaddressvalidator.cpp:18
Generated on Wed Dec 18 2024 20:00:10 for Bitcoin Core by
1.9.4