File indexing completed on 2024-11-24 04:50:44
0001 // SPDX-FileCopyrightText: 2023 Carl Schwan <carl.schwan@gnupg.com> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 #pragma once 0005 0006 #include <KMime/Message> 0007 #include <QObject> 0008 #include <QUrl> 0009 0010 class MessageHandler : public QObject 0011 { 0012 Q_OBJECT 0013 0014 public: 0015 Q_INVOKABLE void open(const QUrl &file); 0016 0017 Q_SIGNALS: 0018 void messageOpened(KMime::Message::Ptr message); 0019 };