KTextAddons

translatorengineaccessmanager.h
1/*
2 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8#include "texttranslator_export.h"
9#include <QObject>
11namespace TextTranslator
12{
13class TEXTTRANSLATOR_EXPORT TranslatorEngineAccessManager : public QObject
14{
15 Q_OBJECT
16public:
17 explicit TranslatorEngineAccessManager(QObject *parent = nullptr);
18 ~TranslatorEngineAccessManager();
19
20 static TranslatorEngineAccessManager *self();
21
22 QNetworkAccessManager *networkManager() const;
23
24private:
25 QNetworkAccessManager *const mNetworkAccessManager;
26};
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.