lib

KoUnitDoubleValidator Class Reference

#include <KoUnitWidgets.h>

Inheritance diagram for KoUnitDoubleValidator:
KDoubleValidator

Public Member Functions

 KoUnitDoubleValidator (KoUnitDoubleBase *base, TQObject *parent, const char *name=0)
virtual TQValidator::State validate (TQString &, int &) const
Public Member Functions inherited from KDoubleValidator
 KDoubleValidator (TQObject *parent, const char *name=0)
 KDoubleValidator (double bottom, double top, int decimals, TQObject *parent, const char *name=0)
bool acceptLocalizedNumbers () const
void setAcceptLocalizedNumbers (bool accept)

Detailed Description

Validator for the unit widget classes.

Definition at line 44 of file KoUnitWidgets.h.

Constructor & Destructor Documentation

◆ KoUnitDoubleValidator()

KoUnitDoubleValidator::KoUnitDoubleValidator ( KoUnitDoubleBase * base,
TQObject * parent,
const char * name = 0 )

Definition at line 34 of file KoUnitWidgets.cpp.

Member Function Documentation

◆ validate()

TQValidator::State KoUnitDoubleValidator::validate ( TQString & s,
int & pos ) const
virtual

Reimplemented from KDoubleValidator.

Definition at line 40 of file KoUnitWidgets.cpp.


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