Hacking:Code style conventions: Difference between revisions

No edit summary
 
Line 216:
#ifndef MAINWINDOWSNOGUI_H
#define MAINWINDOWSNOGUI_H
</source>
 
For suppressing compiler warnings about unused parameters in code use <code>Q_UNUSED()</code> macros.
<source lang="cpp">
void Foo(int aParameter)
{
Q_UNUSED(aParameter)
}
</source>