View Issue Details

IDProjectCategoryView StatusLast Update
0004577FreeCADBugpublic2021-02-27 15:20
ReporterStefanBruens Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0004577: Use normalized signatures in QObject::connect when new-style is not possible
DescriptionQObject::connect uses normalized signatures when connecting signals to get rid of ambiguities.

Using non-normalized signatures has a runtime overhead (at connect time, not signal emission).

In general, new-style (functor) connects should be preferred, but there may be cases when late binding is preferred (i.e. when the exact type of the target QObject is not known at compile time).
Additional Informationhttps://marcmutz.wordpress.com/effective-qt/prefer-to-use-normalised-signalslot-signatures/
TagsNo tags attached.
FreeCAD InformationOS: openSUSE Tumbleweed (KDE//usr/share/xsessions/plasma5)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.Unknown
Build type: Release
Python version: 3.8.7
Qt version: 5.15.2
Coin version: 3.1.3
OCC version: 7.5.1
Locale: English/United States (en_US)

Activities

yorik

2022-03-03 13:55

administrator   ~0016999

This ticket has been migrated to GitHub as issue 6167.

Issue History

Date Modified Username Field Change
2021-02-27 15:20 StefanBruens New Issue