File indexing completed on 2025-03-16 06:51:29
0001 /* 0002 This file is part of the KDE libraries 0003 SPDX-FileCopyrightText: 2012 David Faure <faure@kde.org> 0004 0005 SPDX-License-Identifier: LGPL-2.0-only 0006 */ 0007 0008 #ifndef KIO_JOBTRACKER_H 0009 #define KIO_JOBTRACKER_H 0010 0011 #include "kiocore_export.h" 0012 0013 class KJobTrackerInterface; 0014 0015 namespace KIO 0016 { 0017 /** 0018 * Returns the job tracker to be used by all KIO jobs (in which HideProgressInfo is not set) 0019 */ 0020 KIOCORE_EXPORT KJobTrackerInterface *getJobTracker(); 0021 0022 /** 0023 * @internal 0024 * Allows the KIO widgets library to register its widget-based job tracker automatically. 0025 * @since 5.0 0026 */ 0027 KIOCORE_EXPORT void setJobTracker(KJobTrackerInterface *tracker); 0028 } 0029 0030 #endif /* KIO_JOBTRACKER_H */