summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqlfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/kernel/qsqlfield.h')
-rw-r--r--src/sql/kernel/qsqlfield.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sql/kernel/qsqlfield.h b/src/sql/kernel/qsqlfield.h
index d70af15..2c3b52a 100644
--- a/src/sql/kernel/qsqlfield.h
+++ b/src/sql/kernel/qsqlfield.h
@@ -58,9 +58,9 @@ class Q_SQL_EXPORT QSqlField
public:
enum RequiredStatus { Unknown = -1, Optional = 0, Required = 1 };
- QSqlField();
- QSqlField(const QString& fieldName);
- QSqlField(const QString& fieldName, QVariant::Type type);
+ QSqlField(const QString& fieldName = QString(),
+ QVariant::Type type = QVariant::Invalid);
+
QSqlField(const QSqlField& other);
QSqlField& operator=(const QSqlField& other);
bool operator==(const QSqlField& other) const;