QtBase  v6.3.1
Classes | Typedefs | Enumerations | Functions
tst_qglobal.cpp File Reference
#include <QTest>
#include <QPair>
#include <QSysInfo>
#include <QLatin1String>
#include <QString>
#include <cmath>
#include "tst_qglobal.moc"
Include dependency graph for tst_qglobal.cpp:

Go to the source code of this file.

Classes

class  tst_QGlobal
 
class  MyTrue
 
struct  MyExpresion
 
struct  TypeDef
 
class  Template< T1, T2 >
 
struct  MyTemplate
 
struct  isEnum_A
 
union  isEnum_C
 
class  isEnum_D
 
class  isEnum_E
 
class  isEnum_F
 
struct  Empty
 
struct  AlignmentInStruct< T >
 
struct  Overloaded
 

Typedefs

typedef int(* fun) ()
 
typedef int(Empty::* memFun) ()
 
typedef QPair< const char *, const char * > stringpair
 

Enumerations

enum  isEnum_B_Byte { isEnum_B_Byte_x = 63 }
 
enum  isEnum_B_Short { isEnum_B_Short_x = 1024 }
 
enum  isEnum_B_Int { isEnum_B_Int_x = 1 << 20 }
 

Functions

void tst_GlobalTypes ()
 
int tst_QtVersion ()
 
const char * tst_qVersion ()
 
 Q_CONSTRUCTOR_FUNCTION (qConstructorFunctionCtor)
 
void freeOverloaded ()
 
void freeOverloaded (QByteArray)
 
void freeOverloaded (QByteArray, const QString &)
 
void freeOverloadedGet (QByteArray)
 
QByteArray freeOverloadedGet ()
 
template<typename T >
void compare (T a, T b)
 

Typedef Documentation

◆ fun

typedef int(* fun) ()

Definition at line 438 of file tst_qglobal.cpp.

◆ memFun

typedef int(Empty::* memFun) ()

Definition at line 439 of file tst_qglobal.cpp.

◆ stringpair

typedef QPair<const char *, const char *> stringpair

Definition at line 455 of file tst_qglobal.cpp.

Enumeration Type Documentation

◆ isEnum_B_Byte

Enumerator
isEnum_B_Byte_x 

Definition at line 414 of file tst_qglobal.cpp.

◆ isEnum_B_Int

Enumerator
isEnum_B_Int_x 

Definition at line 416 of file tst_qglobal.cpp.

◆ isEnum_B_Short

Enumerator
isEnum_B_Short_x 

Definition at line 415 of file tst_qglobal.cpp.

Function Documentation

◆ compare()

template<typename T >
void compare ( T  a,
T  b 
)

Definition at line 587 of file tst_qglobal.cpp.

Here is the call graph for this function:

◆ freeOverloaded() [1/3]

void freeOverloaded ( )

Definition at line 482 of file tst_qglobal.cpp.

◆ freeOverloaded() [2/3]

void freeOverloaded ( QByteArray  )

Definition at line 483 of file tst_qglobal.cpp.

◆ freeOverloaded() [3/3]

void freeOverloaded ( QByteArray  ,
const QString  
)

Definition at line 484 of file tst_qglobal.cpp.

◆ freeOverloadedGet() [1/2]

QByteArray freeOverloadedGet ( )

Definition at line 487 of file tst_qglobal.cpp.

Here is the call graph for this function:

◆ freeOverloadedGet() [2/2]

void freeOverloadedGet ( QByteArray  )

Definition at line 486 of file tst_qglobal.cpp.

◆ Q_CONSTRUCTOR_FUNCTION()

Q_CONSTRUCTOR_FUNCTION ( qConstructorFunctionCtor  )

◆ tst_GlobalTypes()

void tst_GlobalTypes ( )

Definition at line 50 of file qglobal.c.

Here is the call graph for this function:

◆ tst_QtVersion()

int tst_QtVersion ( )

Definition at line 83 of file qglobal.c.

◆ tst_qVersion()

const char* tst_qVersion ( )

Definition at line 88 of file qglobal.c.

Here is the call graph for this function: