kMyMoneyMoneyValidator Class Reference

#include <kmymoneyedit.h>

Inheritance diagram for kMyMoneyMoneyValidator:

QDoubleValidator
Collaboration diagram for kMyMoneyMoneyValidator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 kMyMoneyMoneyValidator (QObject *parent, const char *name=0)
 kMyMoneyMoneyValidator (double bottom, double top, int decimals, QObject *parent, const char *name=0)
virtual ~kMyMoneyMoneyValidator ()
virtual QValidator::State validate (QString &input, int &pos) const


Detailed Description

This class is derived from KDoubleValidator and uses the monetary symbols instead of the numeric symbols. Also, it always accepts localized input.

Author:
Thomas Baumgart

Constructor & Destructor Documentation

kMyMoneyMoneyValidator::kMyMoneyMoneyValidator ( QObject parent,
const char *  name = 0 
)

Constuct a locale-aware KDoubleValidator with default range (whatever QDoubleValidator uses for that) and parent parent

kMyMoneyMoneyValidator::kMyMoneyMoneyValidator ( double  bottom,
double  top,
int  decimals,
QObject parent,
const char *  name = 0 
)

Constuct a locale-aware KDoubleValidator for range [bottom,top] and a precision of decimals decimals after the decimal point.

virtual kMyMoneyMoneyValidator::~kMyMoneyMoneyValidator (  )  [inline, virtual]

Destructs the validator.


Member Function Documentation

virtual QValidator::State kMyMoneyMoneyValidator::validate ( QString &  input,
int &  pos 
) const [virtual]

Overloaded for internal reasons. The API is not affected.


The documentation for this class was generated from the following file:

Generated on Wed Jan 26 13:08:01 2011 for KMyMoney by  doxygen 1.5.6