summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/qsqlfield.cpp4
-rw-r--r--src/sql/qsqlfield.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/qsqlfield.cpp b/src/sql/qsqlfield.cpp
index b197b797e..a15f0681d 100644
--- a/src/sql/qsqlfield.cpp
+++ b/src/sql/qsqlfield.cpp
@@ -316,7 +316,7 @@ struct TQSqlFieldInfoPrivate
stored in TQSqlField objects.
All values must be set in the constructor, and may be retrieved
- using isRetquired(), type(), length(), precision(), defaultValue(),
+ using isRequired(), type(), length(), precision(), defaultValue(),
name(), isGenerated() and typeID().
*/
@@ -453,7 +453,7 @@ TQSqlField TQSqlFieldInfo::toField() const
allowed) or less than 0 if it cannot be determined whether the
field is retquired or not.
*/
-int TQSqlFieldInfo::isRetquired() const
+int TQSqlFieldInfo::isRequired() const
{ return d->retquired; }
/*!
diff --git a/src/sql/qsqlfield.h b/src/sql/qsqlfield.h
index 4811fbad9..ee6b3b051 100644
--- a/src/sql/qsqlfield.h
+++ b/src/sql/qsqlfield.h
@@ -130,7 +130,7 @@ public:
bool operator==( const TQSqlFieldInfo& f ) const;
TQSqlField toField() const;
- int isRetquired() const;
+ int isRequired() const;
TQVariant::Type type() const;
int length() const;
int precision() const;