okteta
Okteta::AddressValidator Class Reference
#include <addressvalidator.h>
Inheritance diagram for Okteta::AddressValidator:

Public Types | |
| enum | AddressType { InvalidAddressType = -1, AbsoluteAddress = 0, RelativeForwards, RelativeBackwards } |
| enum | Coding { InvalidCoding = -1, HexadecimalCoding =0, DecimalCoding =1, ExpressionCoding =2 } |
Public Member Functions | |
| AddressValidator (QObject *parent, Coding codecId=HexadecimalCoding) | |
| virtual | ~AddressValidator () |
| AddressType | addressType () const |
| void | setCodec (Coding codecId) |
| Address | toAddress (const QString &string, AddressType *type=0) const |
| QString | toString (Address address, AddressType addressType) const |
| virtual QValidator::State | validate (QString &input, int &pos) const |
Detailed Description
Definition at line 39 of file addressvalidator.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| InvalidAddressType | |
| AbsoluteAddress | |
| RelativeForwards | |
| RelativeBackwards | |
Definition at line 47 of file addressvalidator.h.
| Enumerator | |
|---|---|
| InvalidCoding | |
| HexadecimalCoding | |
| DecimalCoding | |
| ExpressionCoding | |
Definition at line 45 of file addressvalidator.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 40 of file addressvalidator.cpp.
|
virtual |
Definition at line 158 of file addressvalidator.cpp.
Member Function Documentation
| AddressType Okteta::AddressValidator::addressType | ( | ) | const |
| void Okteta::AddressValidator::setCodec | ( | Coding | codecId | ) |
Sets one of the value codecs or any char codec.
Definition at line 48 of file addressvalidator.cpp.
| Address Okteta::AddressValidator::toAddress | ( | const QString & | string, |
| AddressType * | type = 0 |
||
| ) | const |
Definition at line 97 of file addressvalidator.cpp.
| QString Okteta::AddressValidator::toString | ( | Address | address, |
| AddressType | addressType | ||
| ) | const |
Definition at line 142 of file addressvalidator.cpp.
|
virtual |
Definition at line 63 of file addressvalidator.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference