1 | /* |
2 | SPDX-FileCopyrightText: 2021 Ahmad Samir <a.samirh78@gmail.com> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
5 | */ |
6 | |
7 | #ifndef KURLHANDLER_P_H |
8 | #define KURLHANDLER_P_H |
9 | |
10 | #include <kguiaddons_export.h> |
11 | |
12 | #include <QObject> |
13 | |
14 | class QUrl; |
15 | |
16 | class KGUIADDONS_EXPORT KUrlHandler : public QObject |
17 | { |
18 | Q_OBJECT |
19 | |
20 | public: |
21 | explicit KUrlHandler(QObject *parent = nullptr); |
22 | |
23 | QUrl concatDocsUrl(const QUrl &url) const; |
24 | |
25 | public Q_SLOTS: |
26 | void openHelp(const QUrl &url) const; |
27 | }; |
28 | |
29 | #endif // KURLHANDLER_P_H |
30 | |