kexi
KexiDB::ObjectNameValidator Class Reference
#include <dbobjectnamevalidator.h>
Inheritance diagram for KexiDB::ObjectNameValidator:

Detailed Description
Validates input: accepts if the name is not reserved for internal kexi objects.
Definition at line 33 of file dbobjectnamevalidator.h.
Public Member Functions | |
| ObjectNameValidator (KexiDB::Driver *drv, QObject *parent=0, const char *name=0) | |
| virtual | ~ObjectNameValidator () |
Protected Member Functions | |
| virtual KexiUtils::Validator::Result | internalCheck (const QString &valueName, const QVariant &v, QString &message, QString &details) |
Protected Attributes | |
| QGuardedPtr< KexiDB::Driver > | m_drv |
Constructor & Destructor Documentation
| ObjectNameValidator::ObjectNameValidator | ( | KexiDB::Driver * | drv, | |
| QObject * | parent = 0, |
|||
| const char * | name = 0 | |||
| ) |
drv is a KexiDB driver on which isSystemObjectName() will be called inside check(). If drv is 0, KexiDB::Driver::isKexiDBSystemObjectName() static function is called instead.
Definition at line 27 of file dbobjectnamevalidator.cpp.
The documentation for this class was generated from the following files:

