Attica

buildservicejoboutput.cpp
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2010 Dan Leinir Turthra Jensen <[email protected]>
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 
11 using namespace Attica;
12 
13 class BuildServiceJobOutput::Private : public QSharedData
14 {
15 public:
16  QString output;
17 
18  Private()
19  {
20  }
21 };
22 
23 BuildServiceJobOutput::BuildServiceJobOutput()
24  : d(new Private)
25 {
26 }
27 
28 BuildServiceJobOutput::BuildServiceJobOutput(const BuildServiceJobOutput &other)
29  : d(other.d)
30 {
31 }
32 
33 BuildServiceJobOutput &BuildServiceJobOutput::operator=(const Attica::BuildServiceJobOutput &other)
34 {
35  d = other.d;
36  return *this;
37 }
38 
39 BuildServiceJobOutput::~BuildServiceJobOutput()
40 {
41 }
42 
43 void BuildServiceJobOutput::setOutput(const QString &output)
44 {
45  d->output = output;
46 }
47 
48 QString BuildServiceJobOutput::output() const
49 {
50  return d->output;
51 }
52 
53 bool BuildServiceJobOutput::isValid() const
54 {
55  return !(d->output.isNull());
56 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 23:06:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.