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
12JobUiDelegateExtension::JobUiDelegateExtension()
13 : d(nullptr)
14{
15}
16
17JobUiDelegateExtension::~JobUiDelegateExtension()
18{
19}
20
21ClipboardUpdater *KIO::JobUiDelegateExtension::createClipboardUpdater(Job *, ClipboardUpdaterMode)
22{
23 return nullptr;
24}
25
26void KIO::JobUiDelegateExtension::updateUrlInClipboard(const QUrl &, const QUrl &)
27{
28}
29
30static JobUiDelegateExtension *s_extension = nullptr;
31
32JobUiDelegateExtension *KIO::defaultJobUiDelegateExtension()
33{
34 return s_extension;
35}
36
37void KIO::setDefaultJobUiDelegateExtension(JobUiDelegateExtension *extension)
38{
39 s_extension = extension;
40}
41

source code of kio/src/core/jobuidelegateextension.cpp