QtBase
v6.3.1
|
#include <deque>
#include <unordered_list>
#include <memory>
Go to the source code of this file.
Classes | |
struct | MyStruct |
[0] More... | |
Namespaces | |
MyNamespace | |
[0] | |
Typedefs | |
typedef QString | CustomString |
[8] More... | |
Functions | |
var | setValue (s) |
if (id !=QMetaType::UnknownType) | |
qRegisterMetaType< MyClass > ("MyClass") | |
[3] More... | |
QDataStream & | operator<< (QDataStream &out, const MyClass &myObj) |
[4] More... | |
QDataStream & | operator>> (QDataStream &in, MyClass &myObj) |
qRegisterMetaType< CustomString > ("CustomString") | |
void | someFunc () |
[9] More... | |
QPointer< QFile > | fp (new QFile) |
[11] More... | |
if (var.canConvert< QObject * >()) | |
Variables | |
MyStruct | s |
[1] More... | |
QVariant | var = QVariant::fromValue(fp) |
MyStruct | s2 = var.value<MyStruct>() |
int | id = QMetaType::type("MyClass") |
[2] More... | |
typedef QString CustomString |
if | ( | id ! | = QMetaType::UnknownType | ) |
Definition at line 86 of file src_corelib_kernel_qmetatype.cpp.
if | ( | var.canConvert< QObject * > | () | ) |
Definition at line 155 of file src_corelib_kernel_qmetatype.cpp.
QDataStream& operator<< | ( | QDataStream & | out, |
const MyClass & | myObj | ||
) |
[4]
[6]
QDataStream& operator>> | ( | QDataStream & | in, |
MyClass & | myObj | ||
) |
qRegisterMetaType< CustomString > | ( | "CustomString" | ) |
qRegisterMetaType< MyClass > | ( | "MyClass" | ) |
[3]
[4]
void someFunc | ( | ) |
[9]
[12]
[10]
[11]
[13]
Definition at line 127 of file src_corelib_kernel_qmetatype.cpp.
id = QMetaType::type("MyClass") |
Definition at line 80 of file src_corelib_kernel_qmetatype.cpp.
QVariant var = QVariant::fromValue(fp) |
Definition at line 74 of file src_corelib_kernel_qmetatype.cpp.