summaryrefslogtreecommitdiffstats
path: root/tests/manual/corelib/tools/customtypesending/message.cpp
blob: a7a8722673b2fb28b1906f3825f305fb905cb049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "message.h"

Message::Message(const QString &body, const QStringList &headers)
    : m_body(body), m_headers(headers)
{
}

QString Message::body() const
{
    return m_body;
}

QStringList Message::headers() const
{
    return m_headers;
}