1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 2012 David Faure <faure@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-only
6*/
7
8#ifndef KIO_JOBTRACKER_H
9#define KIO_JOBTRACKER_H
10
11#include "kiocore_export.h"
12
13class KJobTrackerInterface;
14
15namespace KIO
16{
17/**
18 * Returns the job tracker to be used by all KIO jobs (in which HideProgressInfo is not set)
19 */
20KIOCORE_EXPORT KJobTrackerInterface *getJobTracker();
21
22/**
23 * @internal
24 * Allows the KIO widgets library to register its widget-based job tracker automatically.
25 * @since 5.0
26 */
27KIOCORE_EXPORT void setJobTracker(KJobTrackerInterface *tracker);
28}
29
30#endif /* KIO_JOBTRACKER_H */
31

source code of kio/src/core/jobtracker.h