blob: b441f000189f4e785a7bdd011d612aab8013274c [file] [log] [blame] [raw]
/*
* 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 CONNECTIONWINDOW_H
#define CONNECTIONWINDOW_H
#include <QtGui/QDialog>
class QSettings;
namespace Ui {
class ConnectionWindow;
}
class ConnectionWindow : public QDialog
{
Q_OBJECT
public:
explicit ConnectionWindow(QWidget *, QSettings *);
~ConnectionWindow();
private:
Ui::ConnectionWindow *ui;
QSettings *config;
protected:
void closeEvent(QCloseEvent *);
private slots:
void browse_identity_file();
void change_settings();
void start_main_window();
void remote_host_name_change_event(QString);
};
#endif // CONNECTIONWINDOW_H