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
doc_src_qalgorithms.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
QList<Employee *>
list
;
6
list
.append(
new
Employee
(
"Blackpool"
,
"Stephen"
));
7
list
.append(
new
Employee
(
"Twist"
,
"Oliver"
));
8
9
qDeleteAll
(
list
.begin(),
list
.end());
10
list
.clear();
Employee
[0]
Definition
doc_src_containers.cpp:8
qDeleteAll
qDeleteAll(list.begin(), list.end())
list
QList< Employee * > list
[1]
Definition
doc_src_qalgorithms.cpp:5
qtbase
src
corelib
doc
snippets
code
doc_src_qalgorithms.cpp
Generated by
1.10.0