Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

BitcoinAddressEntryValidator Class Reference

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

#include <bitcoinaddressvalidator.h>

+ Inheritance diagram for BitcoinAddressEntryValidator:
+ Collaboration diagram for BitcoinAddressEntryValidator:

Public Member Functions

 BitcoinAddressEntryValidator (QObject *parent, bool fAllowURI=false)
 
State validate (QString &input, int &pos) const
 

Private Attributes

bool fAllowURI
 

Detailed Description

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

Definition at line 13 of file bitcoinaddressvalidator.h.

Constructor & Destructor Documentation

◆ BitcoinAddressEntryValidator()

BitcoinAddressEntryValidator::BitcoinAddressEntryValidator ( QObject *  parent,
bool  fAllowURI = false 
)
explicit

Definition at line 20 of file bitcoinaddressvalidator.cpp.

Member Function Documentation

◆ validate()

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

Definition at line 25 of file bitcoinaddressvalidator.cpp.

References fAllowURI, and GUIUtil::validateBitcoinURI().

Member Data Documentation

◆ fAllowURI

bool BitcoinAddressEntryValidator::fAllowURI
private

Definition at line 23 of file bitcoinaddressvalidator.h.

Referenced by validate().


The documentation for this class was generated from the following files:
Released under the MIT license