Qt-OverriddenSignal¶
Overriding a signal might have unintended effects
Required inputs: IR
Warns when overriding a signal, which might make existing connects not work, if done unintentionally.
Doesn't warn when the overridden signal has a different signature.
Warns for:
- Overriding signal with non-signal
- Overriding non-signal with signal
- Overriding signal with signal
This rule is based on clazy rule overridden-signal
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
overridden_signal |
Overriding {} with {}. |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
level¶
level : int = 1