Test Class | TestCPP

- Test

# Test Class

(TestQDoc::Test)

A class in a namespace. More...

Header: | #include <Test>
qmake: | QT += testcpp
Inherited By: | TestQDoc::TestDerived

- List of all members, including inherited members
- Obsolete members

## Public Functions

void | inlineFunction()
int | someFunction(int v)
void | someFunctionDefaultArg(int i, bool b = false)
virtual void | virtualFun()

## Macros

| QDOCTEST_MACRO2(x)

## Detailed Description

## Member Function Documentation

### void Test::inlineFunction()

An inline function, documented using the \fn QDoc command.

### int Test::someFunction(int v)

Function that takes a parameter v. Also returns the value of v.

### void Test::someFunctionDefaultArg(int i, bool b = false)

Function that takes a parameter i and b.

### `[virtual]` void Test::virtualFun()

Function that must be reimplemented.

## Macro Documentation

### QDOCTEST_MACRO2(x)

A macro with argument x.

This function was introduced in Test 1.1.