File indexing completed on 2024-05-05 17:33:25

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 COMMENTCLIENT_H
0008 #define COMMENTCLIENT_H
0009 
0010 #include "clientbase.h"
0011 #include "models/comment.h"
0012 
0013 namespace Bugzilla
0014 {
0015 class CommentClient : public ClientBase
0016 {
0017 public:
0018     using ClientBase::ClientBase;
0019 
0020     QList<Comment::Ptr> getFromBug(KJob *kjob) const;
0021     KJob *getFromBug(int bugId);
0022 };
0023 
0024 } // namespace Bugzilla
0025 
0026 #endif // COMMENTCLIENT_H