Raven Core  3.0.0
P2P Digital Currency
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(QObject *parent)
Raven address widget validator, checks for a valid raven address.
Base58 entry widget validator, checks for valid characters and removes some whitespace.
State validate(QString &input, int &pos) const