aboutsummaryrefslogtreecommitdiff
path: root/lib/qt_connection_util.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-10 07:32:01 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-10 07:32:01 +0200
commit533f0af3c5c101c7c4d9ed3260fb66baf78304fa (patch)
tree66b9df71fcf12047476c2843f4a67a9269afd602 /lib/qt_connection_util.h
parent2ddab7a6faab58d8e911012e8a827a3a51504621 (diff)
downloadlibquotient-533f0af3c5c101c7c4d9ed3260fb66baf78304fa.tar.gz
libquotient-533f0af3c5c101c7c4d9ed3260fb66baf78304fa.zip
More comments refresh
[ci skip]
Diffstat (limited to 'lib/qt_connection_util.h')
-rw-r--r--lib/qt_connection_util.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/qt_connection_util.h b/lib/qt_connection_util.h
index 3c81e3ac..04dc6b27 100644
--- a/lib/qt_connection_util.h
+++ b/lib/qt_connection_util.h
@@ -90,8 +90,9 @@ namespace _impl {
}
} // namespace _impl
-/// Create a connection that self-disconnects when its "slot" returns true
-/*! A slot accepted by connectUntil() is different from classic Qt slots
+/*! \brief Create a connection that self-disconnects when its "slot" returns true
+ *
+ * A slot accepted by connectUntil() is different from classic Qt slots
* in that its return value must be bool, not void. The slot's return value
* controls whether the connection should be kept; if the slot returns false,
* the connection remains; upon returning true, the slot is disconnected from
@@ -135,8 +136,9 @@ inline auto connectSingleShot(SenderT* sender, SignalT signal,
connType);
}
-/// A guard pointer that disconnects an interested object upon destruction
-/*! It's almost QPointer<> except that you have to initialise it with one
+/*! \brief A guard pointer that disconnects an interested object upon destruction
+ *
+ * It's almost QPointer<> except that you have to initialise it with one
* more additional parameter - a pointer to a QObject that will be
* disconnected from signals of the underlying pointer upon the guard's
* destruction. Note that destructing the guide doesn't destruct either QObject.