diff options
Diffstat (limited to 'tests/manual/corelib/tools/customtypesending/message.cpp')
-rw-r--r-- | tests/manual/corelib/tools/customtypesending/message.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/manual/corelib/tools/customtypesending/message.cpp b/tests/manual/corelib/tools/customtypesending/message.cpp new file mode 100644 index 0000000000..a7a8722673 --- /dev/null +++ b/tests/manual/corelib/tools/customtypesending/message.cpp @@ -0,0 +1,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; +} |