diff options
author | Torben Dannhauer <torben@dannhauer.info> | 2012-01-24 20:55:37 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-01 16:25:09 +0100 |
commit | 84f4b8149974fbc9f7c43c3a83f3ac76d7dfab15 (patch) | |
tree | 4ef2dc67f46128017222518af56512ee74ba8cc4 /src/sql/kernel/qsqldriver.cpp | |
parent | e03b77d1a6eb58664faa9abd38f9aa3750a25198 (diff) |
Interface definition to provide notifications with a source information.
To differentiate between signals of different sources types, this submission adds an enum and extra signal to provide it.
Change-Id: Iad711739c41894e9c74d83072c50ae17edc695f2
Reviewed-by: Torben Dannhauer <torben@dannhauer.info>
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/sql/kernel/qsqldriver.cpp')
-rw-r--r-- | src/sql/kernel/qsqldriver.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sql/kernel/qsqldriver.cpp b/src/sql/kernel/qsqldriver.cpp index 75264381b5..130eec0239 100644 --- a/src/sql/kernel/qsqldriver.cpp +++ b/src/sql/kernel/qsqldriver.cpp @@ -238,6 +238,16 @@ bool QSqlDriver::isOpenError() const */ /*! + \enum QSqlDriver::NotificationSource + + This enum contains a list of SQL notification sources. + + \value Unknown The notification source is unknown + \value Self The notification source is the own connection + \value Other The notification source is another connection +*/ + +/*! \fn bool QSqlDriver::hasFeature(DriverFeature feature) const Returns true if the driver supports feature \a feature; otherwise |