diff options
Diffstat (limited to 'src/sql/kernel/qsqldriver.h')
-rw-r--r-- | src/sql/kernel/qsqldriver.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sql/kernel/qsqldriver.h b/src/sql/kernel/qsqldriver.h index 446cdf4df6..5fd74411db 100644 --- a/src/sql/kernel/qsqldriver.h +++ b/src/sql/kernel/qsqldriver.h @@ -1,8 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) +** Contact: http://www.qt-project.org/ ** ** This file is part of the QtSql module of the Qt Toolkit. ** @@ -35,6 +34,7 @@ ** ** ** +** ** $QT_END_LICENSE$ ** ****************************************************************************/ @@ -51,7 +51,6 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE -QT_MODULE(Sql) class QSqlDatabase; class QSqlDriverPrivate; @@ -79,6 +78,8 @@ public: enum IdentifierType { FieldName, TableName }; + enum NotificationSource { UnknownSource, SelfSource, OtherSource }; + explicit QSqlDriver(QObject *parent=0); ~QSqlDriver(); virtual bool isOpen() const; @@ -121,6 +122,7 @@ public: Q_SIGNALS: void notification(const QString &name); + void notification(const QString &name, NotificationSource source); protected: virtual void setOpen(bool o); |