KIO

jobuidelegateextension.cpp
1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 2013 David Faure <faure@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#include <jobuidelegateextension.h>
9
10using namespace KIO;
11
16
20
21ClipboardUpdater *KIO::JobUiDelegateExtension::createClipboardUpdater(Job *, ClipboardUpdaterMode)
22{
23 return nullptr;
24}
25
29
30static JobUiDelegateExtension *s_extension = nullptr;
31
36
38{
39 s_extension = extension;
40}
An abstract class defining interaction with users from KIO jobs:
virtual ~JobUiDelegateExtension()
Destructor.
virtual ClipboardUpdater * createClipboardUpdater(Job *job, ClipboardUpdaterMode mode)
Creates a clipboard updater as a child of the given job.
virtual void updateUrlInClipboard(const QUrl &src, const QUrl &dest)
Update URL in clipboard, if present.
The base class for all jobs.
A namespace for KIO globals.
KIOCORE_EXPORT JobUiDelegateExtension * defaultJobUiDelegateExtension()
Returns the default job UI delegate extension to be used by all KIO jobs (in which HideProgressInfo i...
KIOCORE_EXPORT void setDefaultJobUiDelegateExtension(JobUiDelegateExtension *extension)
Internal.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.