diff options
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/ntqsqldatabase.h | 3 | ||||
-rw-r--r-- | src/sql/qsqldatabase.cpp | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/sql/ntqsqldatabase.h b/src/sql/ntqsqldatabase.h index 75aa0dedc..2423fd2ce 100644 --- a/src/sql/ntqsqldatabase.h +++ b/src/sql/ntqsqldatabase.h @@ -66,6 +66,9 @@ class TQSqlDatabasePrivate; class TQM_EXPORT_SQL TQSqlDriverCreatorBase { public: + TQSqlDriverCreatorBase(); + virtual ~TQSqlDriverCreatorBase(); +public: virtual TQSqlDriver* createObject() = 0; }; diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index be51271b3..45f4323bc 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -144,6 +144,12 @@ public: TQSqlQuery createQuery() const { return TQSqlQuery( new TQNullResult(this) ); } }; +TQSqlDriverCreatorBase::TQSqlDriverCreatorBase() { +} + +TQSqlDriverCreatorBase::~TQSqlDriverCreatorBase() { +} + typedef TQDict<TQSqlDriverCreatorBase> TQDriverDict; class TQSqlDatabaseManager : public TQObject |