v3.1.0
💥 Remove eventpp api to replace it with qobject_cast and signal/lambda.
QOlm provide lambda connection with already qobject_cast
objects. This is the preferred and easier way to observe the list
FooList list;
// Preferred API, safer to use when giving a context
list.onInserted(&list, [](Foo* foo, int index){});
list.onInserted(&list, [](Foo* foo){});
list.onRemoved(&list, [](Foo* foo, int index){});
list.onRemoved(&list, [](Foo* foo){});
list.onMoved(&list, [](Foo* foo, int from, int to){});
// Should only be used when your callback doesn't require any context
list.onInserted([](Foo* foo, int index){});
list.onInserted([](Foo* foo){});
list.onRemoved([](Foo* foo, int index){});
list.onRemoved([](Foo* foo){});
list.onMoved([](Foo* foo, int from, int to){});
When connecting without any
receiver
, this list is used as the context.
Minor
👷 Fix missing libxcb-randr0 (ubuntu headless tests)
👷 Drop support for Qt5.12.x
🔨 Use versionless qt version to prepare qt6 support
🔨 Print cmake configuration at the end of CMake
♻️ Add full include path to qt include