Messagelib

imagescalingutils.h
1 /*
2  SPDX-FileCopyrightText: 2013-2021 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 }
22 
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-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:05:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.