File indexing completed on 2024-06-23 05:07:23
0001 /* 0002 SPDX-FileCopyrightText: 2006 Volker Krause <vkrause@kde.org> 0003 SPDX-FileCopyrightText: 2007 Robert Zwerus <arzie@dds.nl> 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #pragma once 0009 0010 #include "collection.h" 0011 0012 #include <QElapsedTimer> 0013 #include <QObject> 0014 0015 class KJob; 0016 0017 class ItemDumper : public QObject 0018 { 0019 Q_OBJECT 0020 public: 0021 ItemDumper(const QString &path, const QString &filename, const QString &mimetype, int count); 0022 0023 private Q_SLOTS: 0024 void done(KJob *job); 0025 0026 private: 0027 QElapsedTimer mTime; 0028 int mJobCount; 0029 };