summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqlfield.h
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-12 11:23:06 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-12 11:23:06 (GMT)
commitb69d50ef3b799b8fa7889e68e5d792f37e744937 (patch)
tree7ee9b72776cd4b307c1414646726f19adfd38367 /src/sql/kernel/qsqlfield.h
parent34a4860216723c625e9311c6040fdbd1c5744b02 (diff)
downloadQt-b69d50ef3b799b8fa7889e68e5d792f37e744937.zip
Qt-b69d50ef3b799b8fa7889e68e5d792f37e744937.tar.gz
Qt-b69d50ef3b799b8fa7889e68e5d792f37e744937.tar.bz2
Revert '80dba8b8': Fixing default constructor problem with RVCT.
These were added to workaround a bug in RVCT which has apparently been fixed.
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;