blob: 1ccc90c7df0ec2873af29e4f5997c56a4fb28963 [file] [log] [blame] [raw]
/* Secure Shout Host Oriented Unified Talk
* Copyright 2015-2018 Rivoreo
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <QtGui/QDialog>
class QSettings;
namespace Ui {
class SettingsDialog;
}
class SettingsDialog : public QDialog {
Q_OBJECT
public:
explicit SettingsDialog(QWidget *, QSettings *);
~SettingsDialog();
void add_environment_variable(const QString &, const QString &);
private:
Ui::SettingsDialog *ui;
QSettings *config;
private slots:
void use_internal_ssh_library_checked(bool);
void add_environment_variable();
void remove_environment_variable();
void browse_ssh_program();
void save_settings();
};
#endif // SETTINGSDIALOG_H