diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-12-19 14:03:14 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-12-19 14:03:14 -0600 |
commit | f8224f3a623495e4e1dbf852554d7601a6b7c4c4 (patch) | |
tree | d5583114ba48669960c9f7d68927687ea652a0b8 /src/sql | |
parent | 25240579092616b09d28705ac84e13e49b744707 (diff) | |
parent | e8cbbedf46da493d2c206444a7e18e5777402905 (diff) | |
download | tqt3-f8224f3a623495e4e1dbf852554d7601a6b7c4c4.tar.gz tqt3-f8224f3a623495e4e1dbf852554d7601a6b7c4c4.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
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 |