Messagelib

scamcheckshorturlmanager.h
1/*
2 SPDX-FileCopyrightText: 2016-2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5
6*/
7
8#pragma once
9
10#include "messageviewer_export.h"
11#include <QObject>
12#include <memory>
13namespace MessageViewer
14{
16class ScamCheckShortUrlManagerPrivate;
17/**
18 * @brief The ScamCheckShortUrlManager class
19 * @author Laurent Montel <montel@kde.org>
20 */
21class MESSAGEVIEWER_EXPORT ScamCheckShortUrlManager : public QObject
22{
24public:
25 ~ScamCheckShortUrlManager() override;
26 static ScamCheckShortUrlManager *self();
27 [[nodiscard]] ScamCheckShortUrl *scamCheckShortUrl() const;
28
29private:
30 explicit ScamCheckShortUrlManager(QObject *parent = nullptr);
31 std::unique_ptr<ScamCheckShortUrlManagerPrivate> const d;
32};
33}
The ScamCheckShortUrl class.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:05:42 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.