Warning, file /education/cantor/src/panelplugins/helppanel/helppanelplugin.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 SPDX-FileCopyrightText: 2010 Alexander Rieder <alexanderrieder@gmail.com> 0004 */ 0005 0006 #ifndef _HELPPANELPLUGIN_H 0007 #define _HELPPANELPLUGIN_H 0008 0009 #include <QPointer> 0010 0011 #include "panelplugin.h" 0012 0013 class KTextEdit; 0014 0015 class HelpPanelPlugin : public Cantor::PanelPlugin 0016 { 0017 Q_OBJECT 0018 public: 0019 HelpPanelPlugin(QObject* parent, const QList<QVariant>& args); 0020 ~HelpPanelPlugin() override; 0021 0022 QWidget* widget() override; 0023 0024 bool showOnStartup() override; 0025 0026 void connectToShell(QObject * cantorShell) override; 0027 0028 Cantor::PanelPlugin::State saveState() override; 0029 0030 void restoreState(const Cantor::PanelPlugin::State & state) override; 0031 0032 public Q_SLOTS: 0033 void setHelpHtml(const QString&); 0034 void showHelp(const QString&); 0035 0036 private: 0037 QPointer<KTextEdit> m_edit; 0038 0039 }; 0040 0041 #endif /* _HELPPANELPLUGIN_H */