Messagelib

imagescalingutils.h
1/*
2 SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8#include <MessageCore/AttachmentPart>
9
10namespace MessageComposer
11{
12class Utils
13{
14public:
15 [[nodiscard]] bool containsImage(const MessageCore::AttachmentPart::List &parts);
16 [[nodiscard]] bool resizeImage(MessageCore::AttachmentPart::Ptr part);
17 void changeFileName(MessageCore::AttachmentPart::Ptr part);
18 [[nodiscard]] bool filterRecipients(const QStringList &recipients);
19 [[nodiscard]] bool hasImage(const QByteArray &mimetype);
20};
21}
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.