/* This file is part of KDE. SPDX-FileCopyrightText: 2009 Eckhart Wörner SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "listjob.h" #include #include using namespace Attica; template ListJob::ListJob(PlatformDependent *internals, const QNetworkRequest &request) : GetJob(internals, request) { qCDebug(ATTICA) << "creating list job:" << request.url(); } template typename T::List ListJob::itemList() const { return m_itemList; } template void ListJob::parse(const QString &xml) { typename T::Parser parser; m_itemList = parser.parseList(xml); setMetadata(parser.metadata()); qCDebug(ATTICA) << "received categories:" << m_itemList.size(); }