[kde] [Bug 509892] New: Legacy SIGNAL()/SLOT() connection syntax widely used

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Sep 24 21:35:40 BST 2025


https://bugs.kde.org/show_bug.cgi?id=509892

            Bug ID: 509892
           Summary: Legacy SIGNAL()/SLOT() connection syntax widely used
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: jshand2013 at gmail.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list