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 template <class T>
22 class ATTICA_EXPORT ListJob : public GetJob
23 {
24 public:
25  typename T::List itemList() const;
26 
27 protected:
28  void parse(const QString &xml) override;
29 
30 private:
31  ListJob(PlatformDependent *internals, const QNetworkRequest &request);
32  typename T::List m_itemList;
33  friend class Attica::Provider;
34 };
35 
36 }
37 
38 #endif
QVector< QVariant > parse(const QString &message, const QDate &externalIssueDate=QDate())
The Provider class represents one Open Collaboration Service provider.
Definition: provider.h:95
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.