Attica

buildservicejoboutput.cpp
1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2010 Dan Leinir Turthra Jensen <admin@leinir.dk>
5
6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7*/
8
9#include "buildservicejoboutput.h"
10
11using namespace Attica;
12
13class Q_DECL_HIDDEN BuildServiceJobOutput::Private : public QSharedData
14{
15public:
16 QString output;
17
18 Private()
19 {
20 }
21};
22
23BuildServiceJobOutput::BuildServiceJobOutput()
24 : d(new Private)
25{
26}
27
28BuildServiceJobOutput::BuildServiceJobOutput(const BuildServiceJobOutput &other)
29 : d(other.d)
30{
31}
32
33BuildServiceJobOutput &BuildServiceJobOutput::operator=(const Attica::BuildServiceJobOutput &other)
34{
35 d = other.d;
36 return *this;
37}
38
39BuildServiceJobOutput::~BuildServiceJobOutput()
40{
41}
42
43void BuildServiceJobOutput::setOutput(const QString &output)
44{
45 d->output = output;
46}
47
48QString BuildServiceJobOutput::output() const
49{
50 return d->output;
51}
52
53bool BuildServiceJobOutput::isValid() const
54{
55 return !(d->output.isNull());
56}
Represents the ouput of a build service job.
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:19:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.