File indexing completed on 2024-04-28 05:46:32

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 #if !defined(FILESYSTEMSUPPORTDIALOGWIDGET_H)
0010 
0011 #define FILESYSTEMSUPPORTDIALOGWIDGET_H
0012 
0013 #include "ui_filesystemsupportdialogwidgetbase.h"
0014 
0015 class FileSystemSupportDialogWidget : public QWidget, public Ui::FileSystemSupportDialogWidgetBase
0016 {
0017 public:
0018     explicit FileSystemSupportDialogWidget(QWidget* parent);
0019 
0020 public:
0021     QTreeWidget& tree() {
0022         Q_ASSERT(m_Tree);
0023         return *m_Tree;
0024     }
0025     const QTreeWidget& tree() const {
0026         Q_ASSERT(m_Tree);
0027         return *m_Tree;
0028     }
0029     QPushButton& buttonRescan() {
0030         Q_ASSERT(m_ButtonRescan);
0031         return *m_ButtonRescan;
0032     }
0033     const QPushButton& buttonRescan() const {
0034         Q_ASSERT(m_ButtonRescan);
0035         return *m_ButtonRescan;
0036     }
0037 };
0038 
0039 #endif