9#include "buildservicejob.h"
31BuildServiceJob::BuildServiceJob()
47BuildServiceJob::~BuildServiceJob()
51void BuildServiceJob::setId(
const QString &u)
56QString BuildServiceJob::id()
const
61void BuildServiceJob::setName(
const QString &u)
66QString BuildServiceJob::name()
const
71void BuildServiceJob::setProgress(
const qreal p)
76qreal BuildServiceJob::progress()
const
81void BuildServiceJob::setStatus(
const int status)
86bool BuildServiceJob::isRunning()
const
88 return d->status == 1;
91bool BuildServiceJob::isCompleted()
const
93 return d->status == 2;
96bool BuildServiceJob::isFailed()
const
98 return d->status == 3;
101void BuildServiceJob::setUrl(
const QString &u)
106QString BuildServiceJob::url()
const
111void BuildServiceJob::setMessage(
const QString &u)
116QString BuildServiceJob::message()
const
121void BuildServiceJob::setProjectId(
const QString &u)
126QString BuildServiceJob::projectId()
const
131void BuildServiceJob::setTarget(
const QString &u)
136QString BuildServiceJob::target()
const
141void BuildServiceJob::setBuildServiceId(
const QString &u)
143 d->buildServiceId = u;
146QString BuildServiceJob::buildServiceId()
const
148 return d->buildServiceId;
151bool BuildServiceJob::isValid()
const
153 return !(d->id.isEmpty());
Represents a build service job.
Q_SCRIPTABLE CaptureState status()
QString name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:36 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.