File indexing completed on 2024-12-22 05:05:21
0001 // SPDX-FileCopyrightText: 2023 g10 Code GmbH 0002 // SPDX-FileContributor: Carl Schwan <carl.schwan@gnupg.com> 0003 // SPDX-License-Identifier: LGPL-2.0-or-later 0004 0005 #pragma once 0006 0007 #include <QObject> 0008 #include <QWindow> 0009 0010 class UrlHandler : public QObject 0011 { 0012 public: 0013 explicit UrlHandler(QObject *parent = nullptr); 0014 bool handleClick(const QUrl &url, QWindow *window); 0015 0016 private: 0017 bool foundSMIMEData(const QString &aUrl, QString &displayName, QString &libName, QString &keyId); 0018 };