File indexing completed on 2025-01-19 04:46:52
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "folderconfiguresettings_private_export.h" 0010 #include <QWidget> 0011 class FolderConfigureTreeWidget; 0012 class FolderConfigureSettingsPageWidget; 0013 class QSplitter; 0014 class LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT FolderConfigureSettingsWidget : public QWidget 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit FolderConfigureSettingsWidget(QWidget *parent = nullptr); 0019 ~FolderConfigureSettingsWidget() override; 0020 void save(); 0021 0022 private: 0023 void readConfig(); 0024 void saveConfig(); 0025 FolderConfigureTreeWidget *const mFolderConfigureTreeWidget; 0026 FolderConfigureSettingsPageWidget *const mFolderConfigureSettingsPageWidget; 0027 QSplitter *const mSplitter; 0028 };