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

C++ 0x lambda support for signals and slots system.

    XMLWordPrintable

Details

    • 583c55b243d9894d93d32fbe15bece2a9beb1d10

    Description

      Please consider the following C++ 0x lambda feature, which would be a great enhancement to the signals/slot system.

      connectWithFunction(obj, SIGNAL( foo() ), [] {
          qDebug() << "Hello World!";
      });
      
      connectWithFunction(obj, SIGNAL( foo() ), Qt::QueuedConnection, [] {
          qDebug() << "Hello World!";
      });
      

      Attachments

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

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            leonlee Leonard Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes