~x2go/x2go/x2goclient_master

« back to all changes in this revision

Viewing changes to src/onmainwindow_privat.h

  • Committer: Mihai Moldovan
  • Date: 2015-03-04 20:15:47 UTC
  • Revision ID: git-v1:b7398771a7abd84ddcff407063edb95dd0a205d3
general: move *.cpp and *.h files to src/ and *.ts files to src/i18n/.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**************************************************************************
 
2
*   Copyright (C) 2005-2015 by Oleksandr Shneyder                         *
 
3
*   o.shneyder@phoca-gmbh.de                                              *
 
4
*                                                                         *
 
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.                          *
 
13
*                                                                         *
 
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
***************************************************************************/
 
17
 
 
18
#ifndef ONMAINWINDOWPRIVAT_H
 
19
#define ONMAINWINDOWPRIVAT_H
 
20
 
 
21
 
 
22
#include <QTextStream>
 
23
#include <QTranslator>
 
24
#include <QToolButton>
 
25
#include <QPainter>
 
26
 
 
27
#include "version.h"
 
28
#include "x2goclientconfig.h"
 
29
#include "x2goutils.h"
 
30
#include "onmainwindow.h"
 
31
#include "userbutton.h"
 
32
#include "exportdialog.h"
 
33
#include "printprocess.h"
 
34
#include "helpdialog.h"
 
35
#include "appdialog.h"
 
36
#include <QDesktopServices>
 
37
#include <QApplication>
 
38
#include <QScrollBar>
 
39
#include <QVBoxLayout>
 
40
#include <QHBoxLayout>
 
41
#include <QFile>
 
42
 
 
43
#include "httpbrokerclient.h"
 
44
#include <QTimer>
 
45
#include <QComboBox>
 
46
#include <QMessageBox>
 
47
#include <QProcess>
 
48
#include <QGroupBox>
 
49
#include <QTextEdit>
 
50
#include <QDesktopWidget>
 
51
#include <QLineEdit>
 
52
#include <QLabel>
 
53
#include <QScrollArea>
 
54
#include <QAction>
 
55
#include <QMenu>
 
56
#include <QMenuBar>
 
57
#include <QToolBar>
 
58
#include <QShortcut>
 
59
#include "x2gosettings.h"
 
60
#include <QStatusBar>
 
61
#include <QInputDialog>
 
62
#include <QDir>
 
63
#include <QTreeView>
 
64
#include <QStandardItem>
 
65
#include <QStandardItemModel>
 
66
#include <QHeaderView>
 
67
#include <QCheckBox>
 
68
#include <QTemporaryFile>
 
69
#include <QFileDialog>
 
70
#include <QHttp>
 
71
#include <QUrl>
 
72
#include <QLocalSocket>
 
73
#include <QPlastiqueStyle>
 
74
#include "imgframe.h"
 
75
#include <QToolTip>
 
76
#include "clicklineedit.h"
 
77
#include <QThread>
 
78
 
 
79
#include "brokerpassdlg.h"
 
80
 
 
81
#include "sshmasterconnection.h"
 
82
#include "contest.h"
 
83
 
 
84
#if !defined Q_OS_WIN
 
85
#include <sys/mount.h>
 
86
#ifdef Q_OS_LINUX
 
87
#include <X11/Xatom.h>
 
88
#include <X11/xpm.h>
 
89
#include <linux/fs.h>
 
90
#endif // Q_OS_LINUX
 
91
#endif // !defined Q_OS_WIN
 
92
 
 
93
#include <errno.h>
 
94
#include <sys/types.h>
 
95
#include <sys/stat.h>
 
96
 
 
97
#include <QCoreApplication>
 
98
 
 
99
#include <QDesktopWidget>
 
100
 
 
101
#define ldap_SUCCESS 0
 
102
#define ldap_INITERROR 1
 
103
#define ldap_OPTERROR 2
 
104
#define ldap_BINDERROR 3
 
105
#define ldap_SEARCHERROR 4
 
106
#define ldap_NOBASE 5
 
107
 
 
108
 
 
109
 
 
110
//LDAP attributes
 
111
#define SESSIONID "sn"
 
112
#define USERNAME  "cn"
 
113
#define CLIENT    "registeredAddress"
 
114
#define SERVER    "postalAddress"
 
115
#define RES       "title"
 
116
#define DISPLAY   "street"
 
117
#define STATUS    "st"
 
118
#define STARTTIME "telephoneNumber"
 
119
#define CREATTIME "telexNumber"
 
120
#define SUSPTIME  "internationaliSDNNumber"
 
121
 
 
122
#define SESSIONCMD "o"
 
123
#define FIRSTUID "ou"
 
124
#define LASTUID "l"
 
125
 
 
126
#define SNDSUPPORT "sn"
 
127
#define NETSOUNDSYSTEM "o"
 
128
#define SNDSUPPORT "sn"
 
129
#define SNDPORT   "ou"
 
130
#define STARTSNDSERVER "title"
 
131
 
 
132
 
 
133
 
 
134
#include <QDateTime>
 
135
 
 
136
#include "SVGFrame.h"
 
137
#include "configdialog.h"
 
138
#include "editconnectiondialog.h"
 
139
#include "sessionbutton.h"
 
140
#include "folderbutton.h"
 
141
#include "sessionexplorer.h"
 
142
#include "sessionmanagedialog.h"
 
143
#include "x2gologdebug.h"
 
144
#include <QMouseEvent>
 
145
 
 
146
#ifdef Q_OS_WIN
 
147
#include "wapi.h"
 
148
#include <QHostInfo>
 
149
#endif
 
150
 
 
151
#ifdef Q_OS_LINUX
 
152
#include <QX11Info>
 
153
#include <X11/Xlib.h>
 
154
#include <X11/Xutil.h>
 
155
#endif
 
156
 
 
157
#ifdef CFGPLUGIN
 
158
#ifdef Q_OS_LINUX
 
159
#include <dlfcn.h>
 
160
#include <QX11EmbedContainer>
 
161
#endif
 
162
#endif
 
163
 
 
164
 
 
165
#endif //ONMAINWINDOWPRIVAT_H