29 lines
679 B
C++
29 lines
679 B
C++
// SPDX-FileCopyrightText: 2023 Loren Burkholder <computersemiexpert@outlook.com>
|
|
// SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
|
|
//
|
|
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
#include <QStringList>
|
|
|
|
namespace KompanionAI
|
|
{
|
|
|
|
class KIPolicy
|
|
{
|
|
Q_GADGET
|
|
Q_PROPERTY(QString visibility MEMBER visibility)
|
|
Q_PROPERTY(bool allowNetwork MEMBER allowNetwork)
|
|
Q_PROPERTY(QStringList redactions MEMBER redactions)
|
|
|
|
public:
|
|
QString visibility = "private";
|
|
bool allowNetwork = false;
|
|
QStringList redactions;
|
|
};
|
|
|
|
}
|