Test Class
TestQDoc::Test
TestCPP
TestCPP Reference Documentation
A class in a namespace.
Header
Test
qmake
QT += testcpp
Inherited By
TestQDoc::TestDerived
Detailed Description
Member Type Documentation
Test::typedef SomeType
SomeTypepublic
active
unspecified
TestCPP
A typedef.
Member Function Documentation
[protected] Test::void overload()
[protected] Test::void overload(bool b)
public
active
unspecified
TestCPP
Overloads that share a documentation comment, optionally taking a parameter b.
This function was introduced in Test 1.2.
Test::void inlineFunction()
inlineFunction
plain
void inlineFunction()
public
active
unspecified
TestCPP
An inline function, documented using the \fn QDoc command.
Test::int someFunction(int v = 0)
int
someFunction
int
v
0
plain
int someFunction(int v)
public
active
unspecified
TestCPP
Function that takes a parameter v. Also returns the value of v.
Test::void someFunctionDefaultArg(int i, bool b = false)
someFunctionDefaultArg
int
i
bool
b
false
plain
void someFunctionDefaultArg(int i, bool b)
public
active
unspecified
TestCPP
Function that takes a parameter i and b.
[virtual] Test::void virtualFun()
virtual
virtualFun
plain
void virtualFun()
public
active
unspecified
TestCPP
Function that must be reimplemented.
Macro Documentation
QDOCTEST_MACRO2(x)
QDOCTEST_MACR
x
macrowithparams
QDOCTEST_MACRO2( x)
public
active
unspecified
TestCPP
A macro with argument x.
This function was introduced in Test 1.1.
Obsolete Members for Test
The following members of class Test are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Member Function Documentation
Test::void anotherObsoleteMember()
anotherObsoleteMember
plain
void anotherObsoleteMember()
public
obsolete
unspecified
TestCPP
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Use obsoleteMember() instead.
Test::void deprecatedMember()
deprecatedMember
plain
void deprecatedMember()
public
obsolete
unspecified
TestCPP
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Use someFunction() instead.
Test::void obsoleteMember()
obsoleteMember
plain
void obsoleteMember()
public
obsolete
unspecified
TestCPP
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Use someFunction() instead.