File indexing completed on 2024-05-12 04:33:32
0001 /* 0002 SPDX-FileCopyrightText: 2008 Pino Toscano <pino@kde.org> 0003 SPDX-FileCopyrightText: 2008 Harri Porten <porten@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef OKULAR_SCRIPT_JS_CONSOLE_P_H 0009 #define OKULAR_SCRIPT_JS_CONSOLE_P_H 0010 0011 #include <QObject> 0012 0013 namespace Okular 0014 { 0015 class JSConsole : public QObject 0016 { 0017 Q_OBJECT 0018 public: 0019 Q_INVOKABLE void clear(); 0020 Q_INVOKABLE void hide(); 0021 Q_INVOKABLE void println(const QString &cMessage); 0022 Q_INVOKABLE void show(); 0023 }; 0024 0025 } 0026 0027 #endif