Raven Core
3.0.0
P2P Digital Currency
src
qt
ravenaddressvalidator.h
Go to the documentation of this file.
1
// Copyright (c) 2011-2014 The Bitcoin Core developers
2
// Copyright (c) 2017-2019 The Raven Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef RAVEN_QT_RAVENADDRESSVALIDATOR_H
7
#define RAVEN_QT_RAVENADDRESSVALIDATOR_H
8
9
#include <QValidator>
10
14
class
RavenAddressEntryValidator
:
public
QValidator
15
{
16
Q_OBJECT
17
18
public
:
19
explicit
RavenAddressEntryValidator
(QObject *parent);
20
21
State
validate
(QString &input,
int
&pos)
const
;
22
};
23
26
class
RavenAddressCheckValidator
:
public
QValidator
27
{
28
Q_OBJECT
29
30
public
:
31
explicit
RavenAddressCheckValidator
(QObject *parent);
32
33
State
validate
(QString &input,
int
&pos)
const
;
34
};
35
36
#endif // RAVEN_QT_RAVENADDRESSVALIDATOR_H
RavenAddressEntryValidator::RavenAddressEntryValidator
RavenAddressEntryValidator(QObject *parent)
Definition:
ravenaddressvalidator.cpp:19
RavenAddressCheckValidator
Raven address widget validator, checks for a valid raven address.
Definition:
ravenaddressvalidator.h:26
RavenAddressEntryValidator
Base58 entry widget validator, checks for valid characters and removes some whitespace.
Definition:
ravenaddressvalidator.h:14
RavenAddressEntryValidator::validate
State validate(QString &input, int &pos) const
Definition:
ravenaddressvalidator.cpp:24
Generated on Mon Jul 29 2019 02:32:20 for Raven Core by
1.8.13