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

QDBusConnection::connect() doesn't support filtering on arguments

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • Some future release
    • 4.5.0
    • D-Bus
    • None

    Description

      I'd like to connect to a DBus signal. I can do this using QDBusConnection::connect(), which internally calls dbus_bus_add_match(). But I want to react only on signals where the first argument matches a specific string.

      According to this posting:
      http://osdir.com/ml/freedesktop.dbus/2005-08/msg00122.html
      this is possible using dbus_bus_add_match().

      I'd like to be able to use the dbus functionality of filtering signals also on their argument values also from within Qt applications. Maybe an extended connect() ? Or a special function addFilters() ?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tmacieir Thiago Macieira (closed Nokia identity) (Inactive)
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes