QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsFieldValidator Class Reference

#include <qgsfieldvalidator.h>

Inheritance diagram for QgsFieldValidator:
Inheritance graph
[legend]

Public Member Functions

 QgsFieldValidator (QObject *parent, const QgsField &field, QString dateFormat="yyyy-MM-dd")
 
 ~QgsFieldValidator ()
 
virtual State validate (QString &, int &) const
 
virtual void fixup (QString &) const
 
QString dateFormat () const
 

Constructor & Destructor Documentation

QgsFieldValidator::QgsFieldValidator ( QObject *  parent,
const QgsField field,
QString  dateFormat = "yyyy-MM-dd" 
)
QgsFieldValidator::~QgsFieldValidator ( )

Member Function Documentation

QString QgsFieldValidator::dateFormat ( ) const
inline
void QgsFieldValidator::fixup ( QString &  s) const
virtual
QValidator::State QgsFieldValidator::validate ( QString &  s,
int &  i 
) const
virtual

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