diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-12-28 21:51:30 -0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-01-06 19:41:36 +0100 |
commit | 2e2cf8a54954ac7cb1ce4929f9861978228e7bf6 (patch) | |
tree | 562accf9ac858223b6986eaf9209b5cbe716f1f7 /src/dbus/qdbusconnection.h | |
parent | 32cbb363b969f364f18604ffa93f04938560210b (diff) |
Remove the old QDBusConnection::sender functionality
This has been deprecated since QDBusContext was introduced (Qt 4.3). So
it's time to remove the functionality.
[ChangeLog][Important Behavior Change] QDBusConnection::sender()
(deprecated since Qt 4.3) has changed to always return an invalid
QDBusConnection. To know what connection the incoming call was received
from, use QDBusContext.
Change-Id: I355efb82c14e54ed718c8f892d8267e727b19118
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusconnection.h')
-rw-r--r-- | src/dbus/qdbusconnection.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus/qdbusconnection.h b/src/dbus/qdbusconnection.h index 59f6429d4f..76657e0b5b 100644 --- a/src/dbus/qdbusconnection.h +++ b/src/dbus/qdbusconnection.h @@ -1,6 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Copyright (C) 2015 Intel Corporation. ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtDBus module of the Qt Toolkit. @@ -184,7 +185,10 @@ public: static QDBusConnection sessionBus(); static QDBusConnection systemBus(); - static QDBusConnection sender(); +#if QT_DEPRECATED_SINCE(5,5) + static QT_DEPRECATED_X("This function no longer works, use QDBusContext instead") + QDBusConnection sender(); +#endif protected: explicit QDBusConnection(QDBusConnectionPrivate *dd); |