summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/snippets/qbytearraylist/main.cpp
blob: d2164f326ca49539d4b3fffc2dffca5247dd79dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2014 by Southwest Research Institute (R)
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause


#include <QByteArrayList>

int main(int, char **)
{
    QByteArray ba1, ba2, ba3;
//! [0]
    QByteArrayList longerList = (QByteArrayList() << ba1 << ba2 << ba3);
//! [0]
}