KTextAddons

openaiplugin.cpp
1/*
2 SPDX-FileCopyrightText: 2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "openaiplugin.h"
8
9OpenAIPlugin::OpenAIPlugin(QObject *parent)
10 : TextAutogenerateText::TextAutogenerateTextPlugin{parent}
11{
12}
13
14OpenAIPlugin::~OpenAIPlugin() = default;
15
16bool OpenAIPlugin::loadSettings()
17{
18 // TODO
19 return false;
20}
21
22void OpenAIPlugin::clear()
23{
24}
25
26void OpenAIPlugin::setPrompt(const QString &text)
27{
28 // TODO
29}
30
31void OpenAIPlugin::sendToLLM(const QString &message, const QByteArray &uuid)
32{
33 // TODO
34}
35
36void OpenAIPlugin::cancelRequest(const QByteArray &uuid)
37{
38 // TODO
39}
40
41#include "moc_openaiplugin.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:06:03 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.