1 /* 2 SPDX-FileCopyrightText: 2013 Sven Brauch <svenbrauch@gmail.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #ifndef PY_KCM_DOCFILES_H 8 #define PY_KCM_DOCFILES_H 9 10 #include <interfaces/configpage.h> 11 12 class DocfileManagerWidget; 13 14 class DocfilesKCModule : public KDevelop::ConfigPage 15 { 16 Q_OBJECT 17 public: 18 DocfilesKCModule(KDevelop::IPlugin* plugin, QWidget* parent); 19 ~DocfilesKCModule() override; 20 21 KDevelop::ConfigPage::ConfigPageType configPageType() const override; 22 23 QString name() const override; 24 QString fullName() const override; 25 QIcon icon() const override; 26 27 void apply() override; 28 void reset() override; 29 void defaults() override; 30 31 private: 32 DocfileManagerWidget* managerWidget; 33 QString knsrc; 34 }; 35 36 #endif 37