TextAutoGenerateText::TextAutoGenerateSettings Class

class TextAutoGenerateText::TextAutoGenerateSettings

The TextAutoGenerateSettings class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextAutoGenerateText/TextAutoGenerateSettings>

Public Functions

TextAutoGenerateSettings()
~TextAutoGenerateSettings()
void load()
void setSystemPrompt(const QString &newSystemPrompt)
QString systemPrompt() const

Static Public Members

QString defaultPrompt()

Detailed Description

Member Function Documentation

TextAutoGenerateSettings::TextAutoGenerateSettings()

Constructs a new TextAutoGenerateSettings object.

[noexcept] TextAutoGenerateSettings::~TextAutoGenerateSettings()

Destroys the TextAutoGenerateSettings object.

[static] QString TextAutoGenerateSettings::defaultPrompt()

Returns the default system prompt. Returns The default prompt as a QString

void TextAutoGenerateSettings::load()

Loads the settings from storage.

void TextAutoGenerateSettings::setSystemPrompt(const QString &newSystemPrompt)

Sets the system prompt. newSystemPrompt The system prompt to set

See also systemPrompt().

QString TextAutoGenerateSettings::systemPrompt() const

Returns the system prompt. Returns The system prompt as a QString

See also setSystemPrompt().