Messagelib

imagescalingutils.h
1 /*
2  SPDX-FileCopyrightText: 2013-2023 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 #include <MessageCore/AttachmentPart>
9 
10 namespace MessageComposer
11 {
12 class Utils
13 {
14 public:
15  Q_REQUIRED_RESULT bool containsImage(const MessageCore::AttachmentPart::List &parts);
16  Q_REQUIRED_RESULT bool resizeImage(MessageCore::AttachmentPart::Ptr part);
17  void changeFileName(MessageCore::AttachmentPart::Ptr part);
18  Q_REQUIRED_RESULT bool filterRecipients(const QStringList &recipients);
19  Q_REQUIRED_RESULT 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-2023 The KDE developers.
Generated on Fri Mar 24 2023 04:08:31 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.