File indexing completed on 2022-12-06 18:50:09

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2009 Alexander Rieder <alexanderrieder@gmail.com>
0004 */
0005 
0006 #ifndef _BACKENDCHOOSEDIALOG_H
0007 #define _BACKENDCHOOSEDIALOG_H
0008 
0009 #include <QDialog>
0010 
0011 #include <ui_backendchooser.h>
0012 
0013 class BackendChooseDialog : public QDialog
0014 {
0015   Q_OBJECT
0016   public:
0017     explicit BackendChooseDialog(QWidget* parent);
0018     ~BackendChooseDialog() override;
0019 
0020     QString backendName();
0021 
0022   protected Q_SLOTS:
0023     void onAccept();
0024     void updateContent();
0025 
0026   private:
0027     Ui::BackendChooserBase m_ui;
0028     QString m_backend;
0029 };
0030 
0031 #endif /* _BACKENDCHOOSEDIALOG_H */