KIO

jobuidelegateextension.cpp
1 /*
2  This file is part of the KDE libraries
3  SPDX-FileCopyrightText: 2013 David Faure <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #include <jobuidelegateextension.h>
9 
10 using namespace KIO;
11 
13  : d(nullptr)
14 {
15 }
16 
18 {
19 }
20 
21 ClipboardUpdater *KIO::JobUiDelegateExtension::createClipboardUpdater(Job *, ClipboardUpdaterMode)
22 {
23  return nullptr;
24 }
25 
27 {
28 }
29 
30 static JobUiDelegateExtension *s_extension = nullptr;
31 
33 {
34  return s_extension;
35 }
36 
38 {
39  s_extension = extension;
40 }
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.
KIOCORE_EXPORT void setDefaultJobUiDelegateExtension(JobUiDelegateExtension *extension)
Internal.
virtual ~JobUiDelegateExtension()
Destructor.
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...
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 03:49:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.