Anoncoin  0.9.4
P2P Digital Currency
anoncoinaddressvalidator.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin developers
2 // Copyright (c) 2013-2014 The Anoncoin Core developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef ANONCOINADDRESSVALIDATOR_H
7 #define ANONCOINADDRESSVALIDATOR_H
8 
9 #include <QValidator>
10 
14 class AnoncoinAddressEntryValidator : public QValidator
15 {
16  Q_OBJECT
17 
18 public:
19  explicit AnoncoinAddressEntryValidator(QObject *parent);
20 
21  State validate(QString &input, int &pos) const;
22 };
23 
26 class AnoncoinAddressCheckValidator : public QValidator
27 {
28  Q_OBJECT
29 
30 public:
31  explicit AnoncoinAddressCheckValidator(QObject *parent);
32 
33  State validate(QString &input, int &pos) const;
34 };
35 
36 #endif // ANONCOINADDRESSVALIDATOR_H
Base58 entry widget validator, checks for valid characters and removes some whitespace.
AnoncoinAddressEntryValidator(QObject *parent)
State validate(QString &input, int &pos) const
Anoncoin address widget validator, checks for a valid anoncoin address.
State validate(QString &input, int &pos) const