refactor: Port to Qt 6

This commit is contained in:
Lars Toenning
2024-03-17 11:31:08 +01:00
parent 54c28863c1
commit 5266cc1909
112 changed files with 358 additions and 609 deletions

View File

@@ -27,7 +27,7 @@ namespace BlackMiscTest
void CTestSlot::slotBasics()
{
QObject *obj = new QObject(this);
CSlot<void(const QString &)> slot1 = { obj, &QObject::setObjectName };
CSlot<void(const QString &)> slot1 = { obj, [&](const QString &name) { obj->setObjectName(name); } };
QVERIFY2(slot1, "Slot has valid object and function - can be called.");
// KB 8/17 T125, CSlot can no longer be constructed with null object