File indexing completed on 2024-11-10 03:38:12
0001 /* 0002 SPDX-FileCopyrightText: 2021 Ahmad Samir <a.samirh78@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef KURLHANDLER_P_H 0008 #define KURLHANDLER_P_H 0009 0010 #include <kguiaddons_export.h> 0011 0012 #include <QObject> 0013 0014 class QUrl; 0015 0016 class KGUIADDONS_EXPORT KUrlHandler : public QObject 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 explicit KUrlHandler(QObject *parent = nullptr); 0022 0023 QUrl concatDocsUrl(const QUrl &url) const; 0024 0025 public Q_SLOTS: 0026 void openHelp(const QUrl &url) const; 0027 }; 0028 0029 #endif // KURLHANDLER_P_H