I'm trying to document my code using doxygen, and I'm trying to figure out what the correct tag (if any exists) to use.
I've got a member function that is called whenever an internal QTimer's timeout() signal is emitted. When this happens, this class emits a signal of it's own to notify external class that the timeout happened. So here's my current documentation and function:
/**
* @brief Called when timer times out
*
* This function is called when the timer times out.
* Emits sigTimeout().
*/
void myClass::slotTimeout()
{
qDebug("Slot timeout, stopping timer");
mTimer->stop(); // stop timer if it isn't already
emit sigTimeout();
}
/**
* @brief Called when timer times out
*
* This function is called when the timer times out.
* Emits sigTimeout().
*/
void myClass::slotTimeout()
{
qDebug("Slot timeout, stopping timer");
mTimer->stop(); // stop timer if it isn't already
emit sigTimeout();
}
To copy to clipboard, switch view to plain text mode
So I'd like for the generated HTML documentation for this function to have the "sigTimeout()" as a hyperlink that takes the reader back to the signal documentation. Right now it just shows up as plain text.
Bookmarks