File indexing completed on 2023-05-30 10:40:14
0001 /* 0002 This program is free software; you can redistribute it and/or 0003 modify it under the terms of the GNU General Public License 0004 as published by the Free Software Foundation; either version 2 0005 of the License, or (at your option) any later version. 0006 0007 This program is distributed in the hope that it will be useful, 0008 but WITHOUT ANY WARRANTY; without even the implied warranty of 0009 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0010 GNU General Public License for more details. 0011 0012 You should have received a copy of the GNU General Public License 0013 along with this program; if not, write to the Free Software 0014 Foundation, Inc., 51 Franklin Street, Fifth Floor, 0015 Boston, MA 02110-1301, USA. 0016 0017 --- 0018 Copyright (C) 2020-2022 Alexander Semke <alexander.semke@web.de> 0019 */ 0020 0021 #ifndef BACKENDSETTINGSWIDGET_H 0022 #define BACKENDSETTINGSWIDGET_H 0023 0024 #include <QWidget> 0025 0026 class QTabWidget; 0027 class QtHelpConfig; 0028 class KUrlRequester; 0029 0030 class BackendSettingsWidget : public QWidget 0031 { 0032 Q_OBJECT 0033 0034 public: 0035 explicit BackendSettingsWidget(QWidget* parent = nullptr, const QString& id = QString()); 0036 0037 private: 0038 QtHelpConfig* m_docWidget = nullptr; 0039 0040 protected: 0041 QString m_id; 0042 QTabWidget* m_tabWidget = nullptr; 0043 QWidget* m_tabDocumentation = nullptr; 0044 KUrlRequester* m_urlRequester = nullptr; 0045 0046 public Q_SLOTS: 0047 void tabChanged(int); 0048 void fileNameChanged(const QString&); 0049 }; 0050 0051 #endif /* BACKENDSETTINGSWIDGET_H */