Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
qt
fabcoinaddressvalidator.h
Go to the documentation of this file.
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.
4
5
#ifndef FABCOIN_QT_FABCOINADDRESSVALIDATOR_H
6
#define FABCOIN_QT_FABCOINADDRESSVALIDATOR_H
7
8
#include <QValidator>
9
13
class
FabcoinAddressEntryValidator
:
public
QValidator
14
{
15
Q_OBJECT
16
17
public
:
18
explicit
FabcoinAddressEntryValidator
(QObject *parent);
19
20
State
validate
(QString &input,
int
&pos)
const
;
21
};
22
25
class
FabcoinAddressCheckValidator
:
public
QValidator
26
{
27
Q_OBJECT
28
29
public
:
30
explicit
FabcoinAddressCheckValidator
(QObject *parent,
bool
allowScript =
true
);
31
32
State
validate
(QString &input,
int
&pos)
const
;
33
34
private
:
35
bool
bAllowScript
;
36
};
37
38
#endif // FABCOIN_QT_FABCOINADDRESSVALIDATOR_H
FabcoinAddressEntryValidator::validate
State validate(QString &input, int &pos) const
Definition:
fabcoinaddressvalidator.cpp:23
FabcoinAddressCheckValidator::bAllowScript
bool bAllowScript
Definition:
fabcoinaddressvalidator.h:35
FabcoinAddressEntryValidator
Base58 entry widget validator, checks for valid characters and removes some whitespace.
Definition:
fabcoinaddressvalidator.h:13
FabcoinAddressEntryValidator::FabcoinAddressEntryValidator
FabcoinAddressEntryValidator(QObject *parent)
Definition:
fabcoinaddressvalidator.cpp:18
FabcoinAddressCheckValidator
Fabcoin address widget validator, checks for a valid fabcoin address.
Definition:
fabcoinaddressvalidator.h:25
Generated on Mon Oct 22 2018 15:15:35 for Fabcoin Core by
1.8.11