summarylogtreecommitdiffstats
path: root/QT.patch
blob: 72907ea8248f94d26bd0147da967461320544a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
diff -urN clustalx-2.1/AlignOutputFileNames.cpp clustalx-2.1-bak/AlignOutputFileNames.cpp
--- clustalx-2.1/AlignOutputFileNames.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/AlignOutputFileNames.cpp	2015-09-18 18:59:38.582405761 +0200
@@ -13,6 +13,7 @@
  * 18-06-07,Nigel Brown(EMBL): Made the 'ok' button in each dialogue be the
  * default instead of a Browse button.
  */
+#include <QtGui>
 #include <QPushButton>
 #include <QGroupBox>
 #include <QCheckBox>
@@ -20,8 +21,8 @@
 #include <QGridLayout>
 #include <QSizePolicy>
 #include <QComboBox>
-#include <QtGui>
 #include <QLabel>
+#include <QLineEdit>
 #include <iostream>
 #include "AlignOutputFileNames.h"
 #include "clustalW/general/userparams.h"
diff -urN clustalx-2.1/AlignmentViewerWidget.cpp clustalx-2.1-bak/AlignmentViewerWidget.cpp
--- clustalx-2.1/AlignmentViewerWidget.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/AlignmentViewerWidget.cpp	2015-09-18 18:50:09.762563103 +0200
@@ -69,6 +69,11 @@
 #include "PSPrinter.h"
 #include "FileDialog.h"
 #include <QFontMetrics>
+#include <QVBoxLayout>
+#include <QScrollBar>
+#include <QScrollArea>
+#include <QMessageBox>
+#include <QGroupBox>
 
 AlignmentViewerWidget::AlignmentViewerWidget(QWidget *parent)
  : QWidget(parent),
diff -urN clustalx-2.1/AlignmentWidget.cpp clustalx-2.1-bak/AlignmentWidget.cpp
--- clustalx-2.1/AlignmentWidget.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/AlignmentWidget.cpp	2015-09-18 18:58:36.656119118 +0200
@@ -46,6 +46,7 @@
  ****************************************************************************/
 
 #include <QtGui>
+#include <QScrollArea>
 #include "AlignmentWidget.h"
 #include "clustalW/general/userparams.h"
 #include "ClustalQtParams.h"
diff -urN clustalx-2.1/BootstrapTreeDialog.cpp clustalx-2.1-bak/BootstrapTreeDialog.cpp
--- clustalx-2.1/BootstrapTreeDialog.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/BootstrapTreeDialog.cpp	2015-09-18 19:00:09.782214298 +0200
@@ -5,6 +5,7 @@
  * 12-4-07, Mark Larkin, Removed destructor. No need to delete QObjects. Also removed
  * setAllPtrsToNull function. 
  */
+#include <QtGui>
 #include <QPushButton>
 #include <QGroupBox>
 #include <QCheckBox>
@@ -12,8 +13,8 @@
 #include <QGridLayout>
 #include <QSizePolicy>
 #include <QComboBox>
-#include <QtGui>
 #include <QLabel>
+#include <QLineEdit>
 #include <iostream>
 #include "BootstrapTreeDialog.h"
 #include "clustalW/general/userparams.h"
diff -urN clustalx-2.1/ColorFileXmlParser.cpp clustalx-2.1-bak/ColorFileXmlParser.cpp
--- clustalx-2.1/ColorFileXmlParser.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/ColorFileXmlParser.cpp	2015-09-18 19:00:42.695345653 +0200
@@ -1,4 +1,5 @@
 #include <QtGui>
+#include <QMessageBox>
 
 #include "ColorFileXmlParser.h"
 #include "ClustalQtParams.h"
@@ -202,4 +203,4 @@
         rule = rule.nextSiblingElement("resrule");
     }  
     return numOfRules;  
-}
\ No newline at end of file
+}
diff -urN clustalx-2.1/HelpDisplayWidget.cpp clustalx-2.1-bak/HelpDisplayWidget.cpp
--- clustalx-2.1/HelpDisplayWidget.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/HelpDisplayWidget.cpp	2015-09-18 19:34:51.692771579 +0200
@@ -16,6 +16,8 @@
 #include <QTextEdit>
 #include <iostream>
 #include <fstream>
+#include <QPushButton>
+#include <QVBoxLayout>
 #include <QtGui>
 #include "Resources.h"
 
diff -urN clustalx-2.1/PSPrinter.cpp clustalx-2.1-bak/PSPrinter.cpp
--- clustalx-2.1/PSPrinter.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/PSPrinter.cpp	2015-09-18 19:20:36.528019466 +0200
@@ -17,6 +17,7 @@
 #include <iomanip>
 #include <sstream>
 #include <QtGui>
+#include <QMessageBox>
 #include "PSPrinter.h"
 #include "ColorFileXmlParser.h"
 #include "clustalW/general/userparams.h"
diff -urN clustalx-2.1/ProteinGapParameters.cpp clustalx-2.1-bak/ProteinGapParameters.cpp
--- clustalx-2.1/ProteinGapParameters.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/ProteinGapParameters.cpp	2015-09-18 19:20:07.311532091 +0200
@@ -9,6 +9,7 @@
 #include <QLabel>
 #include <QString>
 #include <QMessageBox>
+#include <QLineEdit>
 #include "ProteinGapParameters.h"
 #include "clustalW/general/userparams.h"
 
diff -urN clustalx-2.1/SaveSeqFile.cpp clustalx-2.1-bak/SaveSeqFile.cpp
--- clustalx-2.1/SaveSeqFile.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/SaveSeqFile.cpp	2015-09-18 19:21:28.231035513 +0200
@@ -20,6 +20,8 @@
 #include <QComboBox>
 #include <QtGui>
 #include <QLabel>
+#include <QMessageBox>
+#include <QLineEdit>
 #include "SaveSeqFile.h"
 #include "clustalW/general/userparams.h"
 #include "clustalW/general/utils.h"
diff -urN clustalx-2.1/SeqNameWidget.cpp clustalx-2.1-bak/SeqNameWidget.cpp
--- clustalx-2.1/SeqNameWidget.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/SeqNameWidget.cpp	2015-09-18 19:22:48.903873782 +0200
@@ -56,6 +56,7 @@
  ****************************************************************************/
 
 #include <QtGui>
+#include <QScrollArea>
 #include "SeqNameWidget.h"
 #include "KeyController.h" //- nige
 #include "clustalW/alignment/Alignment.h"
diff -urN clustalx-2.1/TreeOutputFileNames.cpp clustalx-2.1-bak/TreeOutputFileNames.cpp
--- clustalx-2.1/TreeOutputFileNames.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/TreeOutputFileNames.cpp	2015-09-18 19:23:37.006911921 +0200
@@ -13,6 +13,7 @@
 #include <QComboBox>
 #include <QtGui>
 #include <QLabel>
+#include <QLineEdit>
 #include <iostream>
 #include "TreeOutputFileNames.h"
 #include "clustalW/general/userparams.h"
diff -urN clustalx-2.1/WritePostscriptFile.cpp clustalx-2.1-bak/WritePostscriptFile.cpp
--- clustalx-2.1/WritePostscriptFile.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/WritePostscriptFile.cpp	2015-09-18 19:24:30.429917414 +0200
@@ -20,6 +20,8 @@
 #include <QComboBox>
 #include <QtGui>
 #include <QLabel>
+#include <QLineEdit>
+#include <QMessageBox>
 #include <iostream>
 #include "WritePostscriptFile.h"
 #include "clustalW/general/userparams.h"
Binary files clustalx-2.1/clustalx and clustalx-2.1-bak/clustalx differ
diff -urN clustalx-2.1/clustalx.pro clustalx-2.1-bak/clustalx.pro
--- clustalx-2.1/clustalx.pro	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/clustalx.pro	2015-09-18 19:14:42.666857671 +0200
@@ -4,8 +4,11 @@
 
 TEMPLATE = app
 TARGET = clustalx
-CONFIG += release static
+CONFIG += release 
 QT += xml
+QT += widgets
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000
+
 VERSION = 2.1
 win32 {
    DEFINES += OS_WINDOWS
diff -urN clustalx-2.1/mainwindow.cpp clustalx-2.1-bak/mainwindow.cpp
--- clustalx-2.1/mainwindow.cpp	2010-11-17 11:12:30.000000000 +0100
+++ clustalx-2.1-bak/mainwindow.cpp	2015-09-18 19:19:03.545256739 +0200
@@ -94,6 +94,15 @@
 #include <cstdlib>
 #include <QCheckBox>
 #include <QStringList>
+#include <QMenu>
+#include <QMenuBar>
+#include <QAction>
+#include <QMessageBox>
+#include <QApplication>
+#include <QScrollBar>
+#include <QHBoxLayout>
+#include <QGroupBox>
+#include <QVBoxLayout>
 #include "SecStructOptions.h"
 #include "mainwindow.h"
 #include "WritePostscriptFile.h"