Attica

listjob.h
1 /*
2  This file is part of KDE.
3 
4  SPDX-FileCopyrightText: 2009 Eckhart W├Ârner <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8 
9 #ifndef LISTJOB_H
10 #define LISTJOB_H
11 
12 #include "attica_export.h"
13 #include "getjob.h"
14 
15 class QNetworkRequest;
16 
17 namespace Attica
18 {
19 class Provider;
20 
21 /**
22  * @class ListJob listjob.h <Attica/ListJob>
23  *
24  * Represents a list job.
25  */
26 template<class T>
27 class ATTICA_EXPORT ListJob : public GetJob
28 {
29 public:
30  typename T::List itemList() const;
31 
32 protected:
33  void parse(const QString &xml) override;
34 
35 private:
36  ListJob(PlatformDependent *internals, const QNetworkRequest &request);
37  typename T::List m_itemList;
38  friend class Attica::Provider;
39 };
40 
41 }
42 
43 #endif
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:05:13 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.