Attica

buildservicejob.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Sebastian K├╝gler <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8 #ifndef ATTICA_BUILDSERVICEJOB_H
9 #define ATTICA_BUILDSERVICEJOB_H
10 
11 #include <QtCore/QDate>
12 #include <QtCore/QList>
13 #include <QtCore/QMap>
14 #include <QtCore/QSharedDataPointer>
15 #include <QtCore/QStringList>
16 #include <QtCore/QUrl>
17 
18 #include "attica_export.h"
19 
20 namespace Attica
21 {
22 
23 /**
24  * @class BuildServiceJob buildservicejob.h <Attica/BuildServiceJob>
25  *
26  * Represents a build service job.
27  */
28 class ATTICA_EXPORT BuildServiceJob
29 {
30 public:
32  class Parser;
33 
35  BuildServiceJob(const BuildServiceJob &other);
36  BuildServiceJob &operator=(const BuildServiceJob &other);
37  ~BuildServiceJob();
38 
39  void setId(const QString &);
40  QString id() const;
41 
42  void setName(const QString &);
43  QString name() const;
44 
45  void setUrl(const QString &);
46  QString url() const;
47 
48  void setProjectId(const QString &);
49  QString projectId() const;
50 
51  void setBuildServiceId(const QString &);
52  QString buildServiceId() const;
53 
54  void setMessage(const QString &);
55  QString message() const;
56 
57  void setTarget(const QString &);
58  QString target() const;
59 
60  void setProgress(const qreal);
61  qreal progress() const;
62 
63  void setStatus(const int);
64  bool isRunning() const;
65  bool isCompleted() const;
66  bool isFailed() const;
67 
68  bool isValid() const;
69 
70 private:
71  class Private;
73 };
74 
75 }
76 
77 #endif
The Attica namespace,.
void setTarget(const SkyPoint &targetCoord)
QString message
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.