File indexing completed on 2024-05-19 05:47:14

0001 /*
0002  * Copyright 2015 Laszlo Kis-Adam <laszlo.kis-adam@kdemail.net>
0003  * Copyright 2016 Anton Anikin <anton.anikin@htower.ru>
0004  *
0005  * This program is free software; you can redistribute it and/or
0006  * modify it under the terms of the GNU General Public License
0007  * as published by the Free Software Foundation; either version 2
0008  * of the License, or (at your option) any later version.
0009  *
0010  * This program is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013  * GNU General Public License for more details.
0014  *
0015  * You should have received a copy of the GNU General Public License
0016  * along with this program. If not, see <http://www.gnu.org/licenses/>.
0017  */
0018 
0019 #ifndef CPPCHECK_GLOBAL_CONFIG_PAGE_H
0020 #define CPPCHECK_GLOBAL_CONFIG_PAGE_H
0021 
0022 #include <interfaces/configpage.h>
0023 
0024 namespace cppcheck
0025 {
0026 
0027 class GlobalConfigPage: public KDevelop::ConfigPage
0028 {
0029     Q_OBJECT
0030 
0031 public:
0032     GlobalConfigPage(KDevelop::IPlugin* plugin, QWidget* parent);
0033     ~GlobalConfigPage() override;
0034 
0035     KDevelop::ConfigPage::ConfigPageType configPageType() const override;
0036 
0037     QString name() const override;
0038     QString fullName() const override;
0039     QIcon icon() const override;
0040 };
0041 
0042 }
0043 
0044 #endif