Skip to content

v3.1.0

Compare
Choose a tag to compare
@OlivierLDff OlivierLDff released this 12 Apr 08:01
· 0 commits to master since this release

馃挜 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