Attica

buildservicejob.h
1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2010 Sebastian Kügler <sebas@kde.org>
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 <QDate>
12#include <QList>
13#include <QMap>
14#include <QSharedDataPointer>
15#include <QStringList>
16#include <QUrl>
17
18#include "attica_export.h"
19
20namespace Attica
21{
22
23/**
24 * @class BuildServiceJob buildservicejob.h <Attica/BuildServiceJob>
25 *
26 * Represents a build service job.
27 */
28class ATTICA_EXPORT BuildServiceJob
29{
30public:
32 class Parser;
33
35 BuildServiceJob(const BuildServiceJob &other);
36 BuildServiceJob &operator=(const BuildServiceJob &other);
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
70private:
71 class Private;
73};
74
75}
76
77#endif
Represents a build service job.
void setTarget(const SkyPoint &targetCoord)
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.