1 | /* |
2 | This file is part of the KDE libraries |
3 | SPDX-FileCopyrightText: 1999 Torben Weis <weis@kde.org> |
4 | SPDX-FileCopyrightText: 2000 Waldo Bastain <bastain@kde.org> |
5 | SPDX-FileCopyrightText: 2000 Dawit Alemayehu <adawit@kde.org> |
6 | SPDX-FileCopyrightText: 2008 Jarosław Staniek <staniek@kde.org> |
7 | SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org> |
8 | |
9 | SPDX-License-Identifier: LGPL-2.0-only |
10 | */ |
11 | |
12 | #ifndef KPROTOCOLMANAGER_P_H |
13 | #define KPROTOCOLMANAGER_P_H |
14 | |
15 | #include <kiocore_export.h> |
16 | |
17 | #include <QMutex> |
18 | #include <QString> |
19 | #include <QUrl> |
20 | |
21 | #include <KSharedConfig> |
22 | |
23 | #include "kprotocolmanager.h" |
24 | |
25 | class KIOCORE_EXPORT KProtocolManagerPrivate |
26 | { |
27 | public: |
28 | KProtocolManagerPrivate(); |
29 | ~KProtocolManagerPrivate(); |
30 | void sync(); |
31 | |
32 | QMutex mutex; // protects all member vars |
33 | KSharedConfig::Ptr configPtr; |
34 | |
35 | QMap<QString /*mimetype*/, QString /*protocol*/> protocolForArchiveMimetypes; |
36 | }; |
37 | |
38 | #endif |
39 | |