@@ -614,7 +614,10 @@ void PatchManager::doVote(const QString &patch, int action)
614614 putSettingsSync (QStringLiteral (" votes/%1" ).arg (patch), action);
615615}
616616
617- /* ! \internal lets not spoil the fun (or the eggs!). */
617+ /* !
618+ \internal
619+ lets not spoil the fun (or the eggs!).
620+ */
618621void PatchManager::checkEaster ()
619622{
620623 qDebug () << Q_FUNC_INFO;
@@ -1019,36 +1022,23 @@ bool PatchManagerTranslator::installTranslator(const QString &patch)
10191022 because qdoc warns about undocumented classes and functions, but
10201023 does not allow for qdoc source documentation in header files.
10211024*/
1022-
1023- /* ! void PatchManager::activation(const QString & patch, const QString & version);
1024- Defined in line 160 (section "public slots:") of /src/qml/patchmanager.h
1025- Used in line 295 of /src/qml/AboutPage.qml
1026- \warning probably dead code, need to investigate
1027- probably \internal, using \a patch and \a version
1025+
1026+ /* ! \fn void PatchManager::activation(const QString & patch, const QString & version);
1027+ \internal
1028+ using \a patch and \a version
1029+ \warning This seems to be dead code as nothing seems to attach to this slot, need to investigate removal
10281030*/
1029- void PatchManager::activation (const QString & patch, const QString & version)
1030- {
1031- /*
1032- Requires dummy operations, utilising patch and version; otherwise
1033- a [-Werror=unused-parameter] is emitted, turned into an error
1034- by the global CONFIG_WERROR=y switch, which breaks the CI runs.
1035- */
1036- }
10371031
1038- /* ! void PatchManager::easterReceived(const QString & easterText);
1039- Defined in line 188 (section "signals:") of /src/qml/patchmanager.h
1040- Used in line 2514 of /src/bin/patchmanager-daemon/patchmanagerobject.cpp
1041- \warning probably dead code, need to investigate
1042- probably \internal, using \a easterText
1032+ /* ! \fn void PatchManager::easterReceived(const QString &easterText);
1033+ \internal
1034+
1035+ This signal is emitted when checkEaster() has determined there is an easter
1036+ egg to display, and contains \a easterText as a string parameter.
1037+
1038+ Used in AboutPage to display an easter egg.
1039+
1040+ \sa AboutPage
10431041*/
1044- void PatchManager::easterReceived (const QString & easterText)
1045- {
1046- /*
1047- Requires a dummy operation, utilising easterText; otherwise
1048- a [-Werror=unused-parameter] is emitted, turned into an error
1049- by the global CONFIG_WERROR=y switch, which breaks the CI runs.
1050- */
1051- }
10521042
10531043/* !
10541044 Returns \e true if \a filename exists, \e false otherwise.
0 commit comments