diff options
Diffstat (limited to 'src/checks/level0/README-connect-by-name.md')
-rw-r--r-- | src/checks/level0/README-connect-by-name.md | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/checks/level0/README-connect-by-name.md b/src/checks/level0/README-connect-by-name.md deleted file mode 100644 index e5f7d255..00000000 --- a/src/checks/level0/README-connect-by-name.md +++ /dev/null @@ -1,10 +0,0 @@ -# connect-by-name - -Warns when "auto-connection slots" are used. They're also known as "connect by name", a -very old and unpopular feature which shouldn't be used anymore. See http://doc.qt.io/qt-5/qobject.html#auto-connection for more information about them. - -These types of connections are very brittle, as a simple object rename would break your code. -In Qt 5 the PMF connect syntax is recommended as it catches errors at compile time. - -This check simply warns for any slot named like on_*_*, because even if you're not using .ui files -this naming is misleading and not good for readability, as the reader would think you're using auto-connection. |