Obsolete Members for QSqlDriver
The following members of class QSqlDriver are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Signals
(obsolete) void | notification(const QString &name) |
Member Function Documentation
[signal] void QSqlDriver::notification(const QString &name)
This signal is emitted when the database posts an event notification that the driver subscribes to. name identifies the event notification.
instead
Note: Signal notification is overloaded in this class. To connect to this one using the function pointer syntax, you must specify the signal type in a static cast, as shown in this example:
connect(sqlDriver, static_cast<void(QSqlDriver::*)(const QString &)>(&QSqlDriver::notification), [=](const QString &name){ /* ... */ });
This function was introduced in Qt 4.4.
See also subscribeToNotification().