File indexing completed on 2025-01-19 05:06:21

0001 /*
0002     SPDX-FileCopyrightText: 2010 Daniel Nicoletti <dantti12@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef CHOOSE_SAMBA_H
0008 #define CHOOSE_SAMBA_H
0009 
0010 #include "GenericPage.h"
0011 
0012 namespace Ui
0013 {
0014 class ChooseSamba;
0015 }
0016 class ChooseSamba : public GenericPage
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit ChooseSamba(QWidget *parent = nullptr);
0021     ~ChooseSamba() override;
0022 
0023     void setValues(const QVariantMap &args) override;
0024     QVariantMap values() const override;
0025     bool isValid() const override;
0026     bool canProceed() const override;
0027 
0028 public slots:
0029     void load();
0030 
0031 private slots:
0032     void checkSelected();
0033 
0034 private:
0035     Ui::ChooseSamba *const ui;
0036 };
0037 
0038 #endif