arc_lupus
arc_lupus

Reputation: 4114

How to keep track of signals and slots in Qt?

This question is not directly about programming, but I hope that it still fits here: When programming with Qt I have the problem that after some times my subclasses are getting extremely large which leads to a lot of signals and slots in each class I have to connect later. Therefore I was wondering if there is a simple possibility to keep track of all the signals and slots, for example to tell me if I forgot to connect a signal, or to show me all connections of one signal if it is connected more than once. Is there a tool or a function in Qt for that, or should I rather stay with pen & paper for keeping track of them?

Upvotes: 0

Views: 462

Answers (1)

Ezee
Ezee

Reputation: 4344

Conan is a C++ library that provides run-time introspection of object hierarchies, object inheritance, signal/slot connections, and signal emissions.

GammaRay is another advanced analyser which can show signals/slots.

Upvotes: 2

Related Questions