File indexing completed on 2024-04-28 17:06:08
0001 /* 0002 SPDX-FileCopyrightText: 2004 Csaba Karai <krusader@users.sourceforge.net> 0003 SPDX-FileCopyrightText: 2004-2022 Krusader Krew <https://krusader.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef KGGENERAL_H 0009 #define KGGENERAL_H 0010 0011 #include "konfiguratorpage.h" 0012 0013 class KgGeneral : public KonfiguratorPage 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 explicit KgGeneral(bool first, QWidget *parent = nullptr); 0019 0020 public slots: 0021 void applyTempDir(QObject *, const QString &, const QString &); 0022 void slotFindTools(); 0023 0024 void slotAddExtension(); 0025 void slotRemoveExtension(); 0026 0027 private: 0028 void createGeneralTab(); 0029 void createViewerTab(); 0030 void createExtensionsTab(); 0031 QWidget *createTab(const QString &name); 0032 0033 QTabWidget *tabWidget; 0034 KonfiguratorListBox *listBox; 0035 }; 0036 0037 #endif /* __KGGENERAL_H__ */