Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
4.8.4, 4.8.x, 5.0.0
-
None
-
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!"; });