1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 2009 Shaun Reich <shaun.reich@kdemail.net>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#ifndef JOBURLCACHE_H
9#define JOBURLCACHE_H
10
11#include <QObject>
12#include <QStringList>
13
14class JobUrlCache : public QObject
15{
16 Q_OBJECT
17public:
18 static JobUrlCache &instance();
19
20 void requestJobUrlsChanged();
21
22Q_SIGNALS:
23 void jobUrlsChanged(const QStringList &);
24
25private Q_SLOTS:
26 /**
27 * Connected to kuiserver's signal...
28 * @p urlList the dest url list
29 */
30 void slotJobUrlsChanged(const QStringList &urlList);
31
32private:
33 JobUrlCache();
34 ~JobUrlCache() override;
35
36 QStringList m_destUrls;
37
38 friend class JobUrlCacheSingleton;
39};
40
41#endif // JOBURLCACHE_H
42

source code of kio/src/widgets/joburlcache_p.h