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
main.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
#include "
employee.h
"
6
7
int
main
()
8
{
9
Employee
e1(1001,
"Albrecht Durer"
);
10
Employee
e2 = e1;
11
e1.
setName
(
"Hans Holbein"
);
12
}
Employee
[0]
Definition
doc_src_containers.cpp:8
Employee::setName
void setName(const QString &name)
[3] //! [4]
Definition
employee.h:43
main
int main()
[0]
Definition
doc_src_objecttrees.cpp:5
employee.h
qtbase
src
corelib
doc
snippets
sharedemployee
main.cpp
Generated by
1.10.0