After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338475 - Use of Qt's Q_SIGNALS and Q_SLOTS causes warnings
Use of Qt's Q_SIGNALS and Q_SLOTS causes warnings
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2006-04-14 14:39 UTC by Frans Englich
Modified: 2006-10-19 19:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for bugreport (1.35 KB, patch)
2006-06-22 18:53 UTC, Thomas Zander
none Details | Review

Description Frans Englich 2006-04-14 14:39:16 UTC
With Doxygen 1.4.6, doxygen produces warnings when encountering Qt's Q_SLOTS and Q_SIGNALS defines. Test case:

---------------------------------
class MainWindow
{
public Q_SLOTS:
    void openCatalog();
};

void MainWindow::openCatalog()
{
}
---------------------------------

Replace "Q_SLOTS" with "slots" and doxygen parses it without warnings.

Q_SLOTS and Q_SIGNALS are sometimes used in library code, combined with defining Q_NO_KEYWORDS, in order to avoid clashes with "slots" and "signals".


Regards,
Frans
Comment 1 Thomas Zander 2006-06-22 18:53:33 UTC
Created attachment 67863 [details] [review]
Fix for bugreport
Comment 2 Dimitri van Heesch 2006-08-11 18:50:22 UTC
Patch will be included in the next CVS update.
Comment 3 Dimitri van Heesch 2006-10-19 19:21:16 UTC
This bug was marked "assigned" by me some time ago, which means it should be fixed in version 1.5.0 and is hereby marked as such. I would kindly request you to check if this version indeed fixes the problem and reopen the bug report should you still see the same problem.