Messagelib

imagescalingutils.h
1/*
2 SPDX-FileCopyrightText: 2013-2025 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}
QSharedPointer< AttachmentPart > Ptr
Defines a pointer to an attachment object.
QList< Ptr > List
Defines a list of pointers to attachment objects.
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:39 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.