2015-02-25 19:00:27 +03:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 by Jeroen Hoek
|
|
|
|
* Copyright (C) 2015 by Olivier Goffart <ogoffart@owncloud.com>
|
|
|
|
*
|
|
|
|
* 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; version 2 of the License.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2015-02-03 00:29:21 +03:00
|
|
|
#ifndef OWNCLOUDCONNECTIONMETHODDIALOG_H
|
|
|
|
#define OWNCLOUDCONNECTIONMETHODDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include "ui_owncloudconnectionmethoddialog.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class OwncloudConnectionMethodDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class OwncloudConnectionMethodDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit OwncloudConnectionMethodDialog(QWidget *parent = 0);
|
|
|
|
~OwncloudConnectionMethodDialog();
|
|
|
|
enum {
|
|
|
|
No_TLS,
|
|
|
|
Client_Side_TLS,
|
|
|
|
Back
|
|
|
|
};
|
2015-02-03 19:55:01 +03:00
|
|
|
|
|
|
|
// The URL that was tried
|
|
|
|
void setUrl(const QUrl &);
|
2015-02-03 00:29:21 +03:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void returnNoTLS();
|
|
|
|
void returnClientSideTLS();
|
|
|
|
void returnBack();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::OwncloudConnectionMethodDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OWNCLOUDCONNECTIONMETHODDIALOG_H
|