aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks/README-connect-non-signal.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/checks/README-connect-non-signal.md')
-rw-r--r--docs/checks/README-connect-non-signal.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/checks/README-connect-non-signal.md b/docs/checks/README-connect-non-signal.md
new file mode 100644
index 00000000..627523c9
--- /dev/null
+++ b/docs/checks/README-connect-non-signal.md
@@ -0,0 +1,8 @@
+# connect-non-signal
+
+Warns when connecting a non-signal to something.
+
+For example:
+`connect(obj, &MyObj::mySlot, ...);`
+
+Only works with the new Qt5 connect syntax (PMF).