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
EmployeeData Class Reference

[0] More...

#include <employee.h>

Inheritance diagram for EmployeeData:
Collaboration diagram for EmployeeData:

Public Member Functions

virtual EmployeeDataclone () const
 EmployeeData ()
 EmployeeData (const EmployeeData &other)
 ~EmployeeData ()=default
virtual EmployeeDataclone () const
Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
QSharedDataoperator= (const QSharedData &)=delete
 ~QSharedData ()=default

Public Attributes

int id
QString name
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

[0]

Definition at line 10 of file src_corelib_tools_qshareddata.cpp.

Constructor & Destructor Documentation

◆ EmployeeData() [1/2]

EmployeeData::EmployeeData ( )
inline

Definition at line 15 of file employee.h.

References id.

◆ EmployeeData() [2/2]

EmployeeData::EmployeeData ( const EmployeeData & other)
inline

Definition at line 16 of file employee.h.

References EmployeeData(), and id.

Referenced by EmployeeData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~EmployeeData()

EmployeeData::~EmployeeData ( )
default

Member Function Documentation

◆ clone() [1/2]

virtual EmployeeData * EmployeeData::clone ( ) const
virtual

◆ clone() [2/2]

virtual EmployeeData * EmployeeData::clone ( ) const
virtual

Member Data Documentation

◆ id

int EmployeeData::id

Definition at line 20 of file employee.h.

Referenced by EmployeeData(), and EmployeeData().

◆ name

QString EmployeeData::name

The documentation for this class was generated from the following files: