1
/**************************************************************************
2
* Copyright (C) 2005-2015 by Oleksandr Shneyder *
3
* o.shneyder@phoca-gmbh.de *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License *
15
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
16
***************************************************************************/
18
#ifndef SESSIONWIDGET_H
19
#define SESSIONWIDGET_H
21
#include "configwidget.h"
24
@author Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
34
class SessionWidget : public ConfigWidget
38
SessionWidget ( bool newSession, QString id, ONMainWindow * mv,
39
QWidget * parent = 0, Qt::WindowFlags f = 0 );
43
QString sessionName();
47
void slot_changeCmd ( int var );
48
void slot_rdpOptions();
49
void slot_proxyOptions();
50
void slot_proxyType();
51
void slot_proxySameLogin();
52
void slot_proxyGetKey();
53
void slot_krbChecked();
54
void slot_openFolder();
57
void slot_rdpDirectClicked();
58
void slot_emitSettings();
62
enum {KDE,GNOME,LXDE,XFCE,MATE,UNITY,CINNAMON,TRINITY,OPENBOX,ICEWM,RDP,XDMCP,SHADOW,OTHER,APPLICATION,PUBLISHED};
73
QCheckBox* cbAutoLogin;
74
QCheckBox* cbKrbLogin;
75
QCheckBox* cbKrbDelegation;
77
QCheckBox* cbDirectRDP;
88
QPushButton* pbAdvanced;
95
QRadioButton* rbSshProxy;
96
QRadioButton* rbHttpProxy;
99
QLineEdit* proxyLogin;
101
QCheckBox* cbProxySameUser;
102
QCheckBox* cbProxySamePass;
103
QCheckBox* cbProxyAutologin;
104
QCheckBox* cbProxyKrbLogin;
106
QPushButton* pbOpenProxyKey;
107
QLabel* proxyKeyLabel;
111
void nameChanged ( const QString & );
113
void directRDP(bool);
114
void settingsChanged(const QString &, const QString &, const QString &);