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>.
Loading...
Searching...
No Matches
EmployeeData Class Reference

[0] More...

#include <employee.h>

+ Inheritance diagram for EmployeeData:
+ Collaboration diagram for EmployeeData:

Public Member Functions

 EmployeeData ()
 
 EmployeeData (const EmployeeData &other)
 
 ~EmployeeData ()
 
- 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 11 of file employee.h.

Constructor & Destructor Documentation

◆ EmployeeData() [1/2]

EmployeeData::EmployeeData ( )
inline

Definition at line 14 of file employee.h.

◆ EmployeeData() [2/2]

EmployeeData::EmployeeData ( const EmployeeData & other)
inline

Definition at line 15 of file employee.h.

◆ ~EmployeeData()

EmployeeData::~EmployeeData ( )
inline

Definition at line 17 of file employee.h.

Member Data Documentation

◆ id

int EmployeeData::id

Definition at line 19 of file employee.h.

Referenced by Employee::id(), and Employee::setId().

◆ name

QString EmployeeData::name

Definition at line 20 of file employee.h.

Referenced by Employee::name(), and Employee::setName().


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