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 0005 SPDX-License-Identifier: GPL-3.0-or-later 0006 */ 0007 0008 #if !defined(ADVANCEDPAGEWIDGET_H) 0009 0010 #define ADVANCEDPAGEWIDGET_H 0011 0012 #include "ui_configurepageadvanced.h" 0013 0014 #include <fs/filesystem.h> 0015 0016 #include <QWidget> 0017 0018 class QString; 0019 class QComboBox; 0020 0021 class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced 0022 { 0023 public: 0024 explicit AdvancedPageWidget(QWidget* parent); 0025 0026 public: 0027 QComboBox& comboBackend() { 0028 return *m_ComboBackend; 0029 } 0030 const QComboBox& comboBackend() const { 0031 return *m_ComboBackend; 0032 } 0033 0034 QString backend() const; 0035 void setBackend(const QString& name); 0036 0037 private: 0038 void setupDialog(); 0039 }; 0040 0041 #endif 0042