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

[0] More...

#include <employee.h>

+ Collaboration diagram for Employee:

Public Member Functions

 Employee ()
 
 Employee (const Employee &other)
 
Employeeoperator= (const Employee &other)
 
 Employee ()
 [1]
 
 Employee (int id, const QString &name)
 [1] //! [2]
 
 Employee (const Employee &other)
 [2] //! [7]
 
void setId (int id)
 
void setName (const QString &name)
 [3] //! [4]
 
int id () const
 [4]
 
QString name () const
 [5] //! [6]
 

Detailed Description

[0]

Definition at line 7 of file doc_src_containers.cpp.

Constructor & Destructor Documentation

◆ Employee() [1/5]

Employee::Employee ( )
inline

Definition at line 10 of file doc_src_containers.cpp.

◆ Employee() [2/5]

Employee::Employee ( const Employee & other)

◆ Employee() [3/5]

Employee::Employee ( )
inline

[1]

Definition at line 27 of file employee.h.

◆ Employee() [4/5]

Employee::Employee ( int id,
const QString & name )
inline

[1] //! [2]

Definition at line 29 of file employee.h.

References setId(), and setName().

+ Here is the call graph for this function:

◆ Employee() [5/5]

Employee::Employee ( const Employee & other)
inline

[2] //! [7]

Definition at line 35 of file employee.h.

Member Function Documentation

◆ id()

int Employee::id ( ) const
inline

[4]

[5]

Definition at line 47 of file employee.h.

References EmployeeData::id.

Referenced by setId().

+ Here is the caller graph for this function:

◆ name()

QString Employee::name ( ) const
inline

[5] //! [6]

Definition at line 49 of file employee.h.

References EmployeeData::name.

Referenced by setName().

+ Here is the caller graph for this function:

◆ operator=()

Employee & Employee::operator= ( const Employee & other)

◆ setId()

void Employee::setId ( int id)
inline

[7] [3]

Definition at line 41 of file employee.h.

References EmployeeData::id, and id().

Referenced by Employee().

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

◆ setName()

void Employee::setName ( const QString & name)
inline

[3] //! [4]

Definition at line 43 of file employee.h.

References EmployeeData::name, and name().

Referenced by Employee(), and main().

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

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