blob: a6e5068d1b93ea9ff751f15f1dd18a2a1a63a3ea [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;
#if 0
QStringList *host_list;
QList<QVariant> *port_list;
QStringList *identify_list;
#else
QList<QVariant> server_list;
#endif
protected:
void closeEvent(QCloseEvent *);
private slots:
void browse_identity_file();
void change_settings();
void start_main_window();
void remote_host_name_change_event(int);
void remote_host_name_change_event(QString);
};
#endif // CONNECTIONWINDOW_H