Attica

listjob.h
1/*
2 This file is part of KDE.
3
4 SPDX-FileCopyrightText: 2009 Eckhart Wörner <ewoerner@kde.org>
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
15class QNetworkRequest;
16
17namespace Attica
18{
19class Provider;
20
21/**
22 * @class ListJob listjob.h <Attica/ListJob>
23 *
24 * Represents a list job.
25 */
26template<class T>
27class ATTICA_EXPORT ListJob : public GetJob
28{
29public:
30 typename T::List itemList() const;
31
32protected:
33 void parse(const QString &xml) override;
34
35private:
36 ListJob(PlatformDependent *internals, const QNetworkRequest &request);
37 typename T::List m_itemList;
38 friend class Attica::Provider;
39};
40
41}
42
43#endif
Represents a get job.
Definition getjob.h:26
Represents a list job.
Definition listjob.h:28
The Provider class represents one Open Collaboration Service provider.
Definition provider.h:97
The Attica namespace,.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:48 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.