Attica

buildservicejoboutput.h
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 #ifndef ATTICA_BUILDSERVICEJOBOUTPUT_H
9 #define ATTICA_BUILDSERVICEJOBOUTPUT_H
10 
11 #include <QtCore/QString>
12 #include <QtCore/QList>
13 #include <QtCore/QSharedDataPointer>
14 
15 #include "attica_export.h"
16 
17 namespace Attica
18 {
19 
20 class ATTICA_EXPORT BuildServiceJobOutput
21 {
22 public:
23  typedef QList<BuildServiceJobOutput> List;
24  class Parser;
25 
26  BuildServiceJobOutput();
27  BuildServiceJobOutput(const BuildServiceJobOutput &other);
28  BuildServiceJobOutput &operator=(const BuildServiceJobOutput &other);
29  ~BuildServiceJobOutput();
30 
31  void setOutput(const QString &output);
32  QString output() const;
33 
34  bool isRunning() const;
35  bool isCompleted() const;
36  bool isFailed() const;
37 
38  bool isValid() const;
39 private:
40  class Private;
42 };
43 
44 } // namespace Attica
45 
46 #endif // ATTICA_BUILDSERVICEJOBOUTPUT_H
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.