Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
customtypeexample.cpp File Reference

(c8c64e75806c52766e3bbd809d3ed4b852a7f17f)

#include <QCoreApplication>
#include <QDebug>
#include <QVariant>
Include dependency graph for customtypeexample.cpp:

Go to the source code of this file.

Classes

class  Message
 [custom type definition] More...

Functions

 Q_DECLARE_METATYPE (Message)
 [custom type definition]
QDebug operator<< (QDebug dbg, const Message &message)
 [custom type meta-type declaration]
int main (int argc, char *argv[])
 [getter functions]

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

[getter functions]

[ctor_close]

[printing a custom type]

[printing a custom type] [storing a custom value]

[storing a custom value]

[retrieving a custom value]

[retrieving a custom value]

Definition at line 68 of file customtypeexample.cpp.

References Q_DECLARE_METATYPE().

Here is the call graph for this function:

◆ operator<<()

QDebug operator<< ( QDebug dbg,
const Message & message )

[custom type meta-type declaration]

[custom type streaming operator declaration]

[custom type streaming operator]

Definition at line 40 of file customtypeexample.cpp.

◆ Q_DECLARE_METATYPE()

Q_DECLARE_METATYPE ( Message )

[custom type definition]

[custom type meta-type declaration]

Referenced by main().

Here is the caller graph for this function: