Codebase list httraqt / ebd5cc4
Imported Upstream version 1.4.7 Anton Gladky 8 years ago
4 changed file(s) with 10 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1818
1919 Version history
2020
21 1.4.7, Ticket 34, rulez seperated by newline insteed of space
2122 1.4.6, Hotfix for Qt5 compiling
2223 1.4.5, Icons as files, #32 overworked code, #33 multiple urls are fixed
2324 1.4.4, Icons for Dialogs are fixed, size column is fixed in progress
209209 }
210210
211211 case TEXTEDIT: { // this one only for rulez->scanList
212 (*ivec).value = ((QTextEdit*)(*ivec).wg)->toPlainText();
212 (*ivec).value = (((QTextEdit*)(*ivec).wg)->toPlainText()).replace("\n"," ").simplified();
213213 break;
214214 }
215215
102102 {
103103 QString st;
104104 disconnect(rulezForm::scanList, SIGNAL(textChanged()), this, SLOT(setScanRulezToGUI()));
105 st = rulezForm::scanList->toPlainText();
105 st = rulezForm::scanList->toPlainText().replace("\n"," ");
106106
107107 // set the widgets
108108 for (int i = 0; i < 4; i++) {
115115
116116 void optionsRulez::detectTypeInc(const QString &st, int i)
117117 {
118 QString editString = scanList->toPlainText();
118 // QString editString = scanList->toPlainText();
119119 QStringList lst = ext[i].split(" ");
120120
121121 for (QStringList::Iterator j = lst.begin(); j != lst.end(); j++) {
153153 for (QStringList::Iterator i = lst.begin(); i != lst.end(); i++) {
154154 if (editString.contains(*i) == true) {
155155 editString.remove(((*i) + " "));
156 editString.remove(((*i) + "\n"));
156157 }
157158 }
158159 }
167168 QString act;
168169 QString le = rulezForm::lineEdit356->text();
169170
170 if (le == "") {
171 if (le == "" && action != 10) {
171172 return;
172173 }
173174
230231
231232 if (editor.contains("+" + act + " ") == true) {
232233 editor.remove("+" + act + " ");
234 editor.remove("+" + act + "\n");
233235 }
234236
235237 if (editor.contains("-" + act + " ") == true) {
236238 editor.remove("-" + act + " ");
239 editor.remove("-" + act + "\n");
237240 }
238241
239242 if (incl) {
00 #ifndef HTTVERSION_H
11 #define HTTVERSION_H
22
3 #define HTTQTVERSION "1.4.5"
4 #define PROGRAM_DATE "06 Sep 2015"
3 #define HTTQTVERSION "1.4.6"
4 #define PROGRAM_DATE "13 Nov 2015"
55
66 #define USE_QT_VERSION 4
77