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 BUGSEARCH_H
0008 #define BUGSEARCH_H
0009 
0010 #include "querycommand.h"
0011 
0012 namespace Bugzilla
0013 {
0014 class BugSearch : public QueryCommand
0015 {
0016     Q_OBJECT
0017     BUGZILLA_MEMBER_PROPERTY(QStringList, products);
0018     BUGZILLA_MEMBER_PROPERTY(QString, severity);
0019     BUGZILLA_MEMBER_PROPERTY(QString, creationTime);
0020     BUGZILLA_MEMBER_PROPERTY(qint64, id) = -1;
0021     BUGZILLA_MEMBER_PROPERTY(qint64, limit) = -1;
0022     BUGZILLA_MEMBER_PROPERTY(qint64, offset) = -1;
0023     BUGZILLA_MEMBER_PROPERTY(QString, longdesc);
0024     BUGZILLA_MEMBER_PROPERTY(QStringList, order);
0025 
0026 public:
0027     virtual Query toQuery() const override;
0028 };
0029 
0030 } // namespace Bugzilla
0031 
0032 #endif // BUGSEARCH_H