File indexing completed on 2024-05-19 16:31:07

0001 /*
0002     SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #ifndef BUGUPDATE_H
0008 #define BUGUPDATE_H
0009 
0010 #include "jsoncommand.h"
0011 
0012 namespace Bugzilla
0013 {
0014 class BugUpdateCC : public JsonCommand
0015 {
0016     Q_OBJECT
0017     BUGZILLA_MEMBER_PROPERTY(QStringList, add);
0018     BUGZILLA_MEMBER_PROPERTY(QStringList, remove);
0019 
0020 public:
0021     using JsonCommand::JsonCommand;
0022 };
0023 
0024 class BugUpdate : public JsonCommand
0025 {
0026     Q_OBJECT
0027     BUGZILLA_MEMBER_PROPERTY(BugUpdateCC *, cc) = new BugUpdateCC(this);
0028 };
0029 
0030 } // namespace Bugzilla
0031 
0032 #endif // BUGUPDATE_H