Qt for beginners CPP reminder: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[toc align_right=&quot;yes&amp;quot; depth=&quot;3&amp;quot;]<br />[[Category:Qt_for_beginners]]<br />[[Category:Tutorial]]<br />[[Category:HowTo]]
[toc align_right="yes" depth="3"]
[[Category:Qt_for_beginners]]
[[Category:Tutorial]]
[[Category:HowTo]]


= Qt for beginners — C++ reminder =
= Qt for beginners — C++ reminder =
Line 9: Line 12:
The '''signature''' of a method or function is simply it's prototype. It completely describes a method or function. It contains the returned type, the name of the method / function (including the class name) and the parameters, including types.
The '''signature''' of a method or function is simply it's prototype. It completely describes a method or function. It contains the returned type, the name of the method / function (including the class name) and the parameters, including types.


<code><br />Type MyObject::myFunction(Type1 param1, Type2 *param2, const Type3 &amp;param3)<br /></code>
<code>
Type MyObject::myFunction(Type1 param1, Type2 *param2, const Type3 &amp;param3)
</code>

Revision as of 09:27, 25 February 2015

[toc align_right="yes" depth="3"]

Qt for beginners — C++ reminder

Glossary

Signature

The signature of a method or function is simply it's prototype. It completely describes a method or function. It contains the returned type, the name of the method / function (including the class name) and the parameters, including types.

Type MyObject::myFunction(Type1 param1, Type2 *param2, const Type3 &amp;param3)