Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44704

Need API to send a D-Bus signal to a destination

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.4.1
    • Fix Version/s: 5.6.0 RC
    • Component/s: D-Bus
    • Labels:
      None

      Description

      The QDBusMessage::createSignal() static method doesn't take a parameter for specifying the destination service of the signal. While this is not a widely used feature, it can be useful to avoid waking up all connected clients when the service knows what are the clients which are interested in the signal.

      GDBus has this feature: https://developer.gnome.org/gio/unstable/GDBusConnection.html#g-dbus-connection-emit-signal

      I propose adding an overload of the QDBusMessage::createSignal() method which also takes the destination service as its first parameter.

        Attachments

        For Gerrit Dashboard: QTBUG-44704
        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              mardy Alberto Mardegan
              Reporter:
              mardy Alberto Mardegan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes