summaryrefslogtreecommitdiffstats
path: root/tests/manual/corelib/tools/customtypesending/message.cpp
blob: dfb5c5359ab4f1cf4d7745c85dbbee4ec89a8a9c (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 BSD-3-Clause

#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;
}