Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QCoreApplication>
#include <QDebug>
#include <QVariant>
Go to the source code of this file.
Classes | |
struct | 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] | |
int main | ( | int | argc, |
char * | argv[] ) |
[getter functions]
[2]
[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 67 of file customtypeexample.cpp.
References app, qDebug, and QVariant::setValue().
[custom type meta-type declaration]
[custom type streaming operator declaration]
[custom type streaming operator]
Definition at line 40 of file customtypeexample.cpp.
References Qt::SkipEmptyParts.
Q_DECLARE_METATYPE | ( | Message | ) |
[custom type definition]
[custom type meta-type declaration]