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