Bug 509892

Summary: Legacy SIGNAL()/SLOT() connection syntax widely used
Product: [I don't know] kde Reporter: jshand2013
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: jshand2013, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jshand2013 2025-09-24 20:35:40 UTC
Operating System: openSUSE Tumbleweed 20250923
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ 7 150U
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Graphics
Manufacturer: Dell Inc.
Product Name: Inspiron 16 5640

# Legacy SIGNAL()/SLOT() connection syntax widely used

**Severity:** Low-Medium  
**Area:** Various  

## Description
Detected ~94 uses of old `SIGNAL()`/`SLOT()` syntax. While functional, this lacks compile-time checking and hampers modernization.

## Evidence
Automated scan found ~94 occurrences across the codebase.

## Steps to Reproduce
1. Grepped codebase for `connect(..., SIGNAL(` and `connect(..., SLOT(`.

## Expected Behavior
Use function-pointer (typed) `connect` syntax for compile-time safety and Qt6 best practices.

## Actual Behavior
Old macro-based syntax is still common.

## Suggested Fix / Next Steps
- Gradual refactor to typed connects, starting from central modules.
- Add CI check to prevent reintroduction.
Comment 1 Nate Graham 2025-09-24 20:58:49 UTC
Please don't copy-paste the output of code "analysis" from ChatGPT or another AI. It isn't actionable. Submitting merge requests to change these things would be helpful, but bug reports pointing them out isn't.