File indexing completed on 2024-04-28 15:51:44
0001 /* 0002 SPDX-FileCopyrightText: 2002 Wilco Greven <greven@kde.org> 0003 SPDX-FileCopyrightText: 2008 Pino Toscano <pino@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef _EXTENSIONS_H_ 0009 #define _EXTENSIONS_H_ 0010 0011 #include <QtGlobal> 0012 0013 #include <KParts/NavigationExtension> 0014 using NavigationExtension = KParts::NavigationExtension; 0015 0016 namespace Okular 0017 { 0018 class Part; 0019 0020 class BrowserExtension : public NavigationExtension 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 explicit BrowserExtension(Part *); 0026 0027 public Q_SLOTS: 0028 // Automatically detected by the host. 0029 void print(); 0030 0031 private: 0032 Part *m_part; 0033 }; 0034 0035 } 0036 0037 #endif 0038 0039 /* kate: replace-tabs on; indent-width 4; */