Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
BitcoinAddressEntryValidator Class Reference

Bitcoin address entry widget validator, checks for valid characters and removes some whitespace. More...

#include <bitcoinaddressvalidator.h>

Inheritance diagram for BitcoinAddressEntryValidator:
[legend]
Collaboration diagram for BitcoinAddressEntryValidator:
[legend]

Public Member Functions

 BitcoinAddressEntryValidator (const std::string &cashaddrprefixIn, QObject *parent)
 
State validate (QString &input, int &pos) const override
 

Private Attributes

std::string cashaddrprefix
 

Detailed Description

Bitcoin address entry widget validator, checks for valid characters and removes some whitespace.

Definition at line 15 of file bitcoinaddressvalidator.h.

Constructor & Destructor Documentation

◆ BitcoinAddressEntryValidator()

BitcoinAddressEntryValidator::BitcoinAddressEntryValidator ( const std::string &  cashaddrprefixIn,
QObject *  parent 
)
explicit

Definition at line 19 of file bitcoinaddressvalidator.cpp.

Member Function Documentation

◆ validate()

QValidator::State BitcoinAddressEntryValidator::validate ( QString &  input,
int &  pos 
) const
override

Definition at line 23 of file bitcoinaddressvalidator.cpp.

Member Data Documentation

◆ cashaddrprefix

std::string BitcoinAddressEntryValidator::cashaddrprefix
private

Definition at line 25 of file bitcoinaddressvalidator.h.


The documentation for this class was generated from the following files: