File indexing completed on 2025-01-26 05:00:55
0001 /* 0002 * SPDX-FileCopyrightText: 2011, 2012 Ivan Cukic <ivan.cukic(at)kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 // Utils 0012 #include <utils/d_ptr.h> 0013 0014 class ResourceScoreMaintainerPrivate; 0015 class QString; 0016 0017 /** 0018 * ResourceScoreMaintainer represents a queue of resource processing requests. 0019 */ 0020 class ResourceScoreMaintainer : public QObject 0021 { 0022 public: 0023 static ResourceScoreMaintainer *self(); 0024 0025 ~ResourceScoreMaintainer() override; 0026 0027 void processResource(const QString &resource, const QString &application); 0028 0029 private: 0030 ResourceScoreMaintainer(); 0031 0032 D_PTR; 0033 };