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_qcache.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
5QCache<int, Employee> cache;
7
8
12employee->setName("Richard Schmit");
13...
14cache.insert(employee->id(), employee);
16
17
19QCache<int, MyDataStructure> cache(5000);
int id() const
[4]
Definition employee.h:47
void setName(const QString &name)
[3] //! [4]
Definition employee.h:43
void setId(int id)
Definition employee.h:41
Employee * employee
[0]
QCache< int, Employee > cache
[0]