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
5QList<Employee *> list;
6list.append(new Employee("Blackpool", "Stephen"));
7list.append(new Employee("Twist", "Oliver"));
8
9qDeleteAll(list.begin(), list.end());
10list.clear();
qDeleteAll(list.begin(), list.end())
QList< Employee * > list
[1]