File indexing completed on 2024-05-05 05:49:28

0001 /*
0002     SPDX-FileCopyrightText: 2010 Volker Lanz <vl@fidra.de>
0003     SPDX-FileCopyrightText: 2014-2017 Andrius Štikonas <andrius@stikonas.eu>
0004     SPDX-FileCopyrightText: 2019 Yuri Chornoivan <yurchor@ukr.net>
0005 
0006     SPDX-License-Identifier: GPL-3.0-or-later
0007 */
0008 
0009 
0010 #if !defined(GENERALPAGEWIDGET_H)
0011 
0012 #define GENERALPAGEWIDGET_H
0013 
0014 #include "ui_configurepagegeneral.h"
0015 
0016 #include <fs/filesystem.h>
0017 
0018 #include <QWidget>
0019 
0020 class QString;
0021 
0022 class GeneralPageWidget : public QWidget, public Ui::ConfigurePageGeneral
0023 {
0024 public:
0025     explicit GeneralPageWidget(QWidget* parent);
0026 
0027 public:
0028     QComboBox& comboDefaultFileSystem() {
0029         return *m_ComboDefaultFileSystem;
0030     }
0031     const QComboBox& comboDefaultFileSystem() const {
0032         return *m_ComboDefaultFileSystem;
0033     }
0034 
0035     FileSystem::Type defaultFileSystem() const;
0036     void setDefaultFileSystem(FileSystem::Type t);
0037 
0038 private:
0039     void setupDialog();
0040 };
0041 
0042 #endif
0043