| 1 | /* |
| 2 | * File: ConfigurationEditor.cpp |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This program is free software: you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation, either version 3 of the License, or |
| 13 | * (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 22 | * |
| 23 | */ |
| 24 | |
| 25 | #include "ConfigurationEditor.h"cxx . . $ `<file>/HercConfiguration/ConfigurationEditor.h`/ |
| 26 | #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/ |
| 27 | |
| 28 | #include <QRegExp> |
| 29 | |
| 30 | #include <iostream> |
| 31 | #include <sstream> |
| 32 | #include <iomanip> |
| 33 | |
| 34 | #define mincxx . . $ `HercConfiguration/ConfigurationEditor.cpp:34:9`!(a,b) ((a) < (b) ? (a) : (b)) //util |
| 35 | #define maxcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:35:9`!(a,b) ((a) > (b) ? (a) : (b)) //util |
| 36 | |
| 37 | #define TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(PARM,_parm) \ |
| 38 | void ConfigurationEditor::PARM(Ui::ConfigurationClass * configUi, const ConfigLine * configLine, Direction dir) \ |
| 39 | { \ |
| 40 | handleText(configUi->_parm, configLine, dir);\ |
| 41 | } |
| 42 | |
| 43 | #define SliderItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:43:9`!(PARM,_parm) \ |
| 44 | void ConfigurationEditor::PARM(Ui::ConfigurationClass * configUi, const ConfigLine * configLine, Direction dir) \ |
| 45 | { \ |
| 46 | handleSlider(configUi->_parm, configLine, dir); \ |
| 47 | } |
| 48 | |
| 49 | #define CheckBoxItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:49:9`!(PARM,parm, CHECKED, UNCHECKED) \ |
| 50 | void ConfigurationEditor::PARM(Ui::ConfigurationClass * configUi, const ConfigLine * configLine, Direction dir) \ |
| 51 | { \ |
| 52 | handleCheckbox(configUi->parm, configLine, dir, #CHECKED, #UNCHECKED); \ |
| 53 | } |
| 54 | |
| 55 | #define SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(PARM,_parm, default_) \ |
| 56 | void ConfigurationEditor::PARM(Ui::ConfigurationClass * configUi, const ConfigLine * configLine, Direction dir) \ |
| 57 | {\ |
| 58 | handleSpin(configUi->_parm, configLine, dir, default_); \ |
| 59 | } |
| 60 | |
| 61 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::handleTextcxx . . $ ConfigurationEditor#handleText(262250732229f0bf).(QLineEditcxx . . $ QLineEdit# * lineEdit, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 62 | { |
| 63 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 64 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,configLine->getToken(0) << std::endl); |
| 65 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 66 | { |
| 67 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2).lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0) |
| 68 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 69 | lineEdit->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(parmcxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 70 | } |
| 71 | else |
| 72 | { |
| 73 | /*TODO: verification routine*/ |
| 74 | if (lineEdit->isModifiedcxx . . $ QLineEdit#isModified(50ce9a9e25b4a850).()) |
| 75 | { |
| 76 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(lineEdit->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 77 | } |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::handleSpincxx . . $ ConfigurationEditor#handleSpin(1fcdd108631d5857).(QSpinBoxcxx . . $ QSpinBox# * spinBox, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir, int dflt) |
| 82 | { |
| 83 | stdcxx . . $ std/::stringcxx . . $ std/string# keyword = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getUppercaseTokencxx . . $ ConfigLine#getUppercaseToken(ffc0d510d034206b).(0); |
| 84 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 85 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,parm); |
| 86 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 87 | { |
| 88 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 89 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0) |
| 90 | { |
| 91 | if (parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '+') parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1); |
| 92 | int num = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm); |
| 93 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0 && num == 0 && parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] != '0') |
| 94 | { |
| 95 | num = dflt; |
| 96 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 97 | } |
| 98 | spinBox->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(num); |
| 99 | } |
| 100 | else |
| 101 | { |
| 102 | spinBox->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(0); |
| 103 | } |
| 104 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(bbd415b616967878).keyword] = spinBox->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 105 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2).lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0) |
| 106 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 107 | } |
| 108 | else |
| 109 | { |
| 110 | /*TODO: verification routine*/ |
| 111 | if (mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(bbd415b616967878).keyword] != spinBox->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).()) |
| 112 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(spinBox->textcxx . . $ QAbstractSpinBox#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::handleSpincxx . . $ ConfigurationEditor#handleSpin(2fe7d485d17d0be5).(QDoubleSpinBoxcxx . . $ QDoubleSpinBox# * doubleSpinBox, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir, int dflt) |
| 117 | { |
| 118 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 119 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4, parm); |
| 120 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 121 | { |
| 122 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 123 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0) |
| 124 | { |
| 125 | if (parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '+') parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1); |
| 126 | int num = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm); |
| 127 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0 && num == 0 && parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] != '0') |
| 128 | { |
| 129 | num = dflt; |
| 130 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 131 | } |
| 132 | doubleSpinBox->setValuecxx . . $ QDoubleSpinBox#setValue(ba8836b59fb42830).(num); |
| 133 | } |
| 134 | else |
| 135 | { |
| 136 | doubleSpinBox->setValuecxx . . $ QDoubleSpinBox#setValue(ba8836b59fb42830).(0); |
| 137 | } |
| 138 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(bbd415b616967878).parm] = doubleSpinBox->valuecxx . . $ QDoubleSpinBox#value(21b6c25e127938e2).(); |
| 139 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2).lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0) |
| 140 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 141 | } |
| 142 | else |
| 143 | { |
| 144 | /*TODO: verification routine*/ |
| 145 | if (mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(bbd415b616967878).parm] != doubleSpinBox->valuecxx . . $ QDoubleSpinBox#value(21b6c25e127938e2).()) |
| 146 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(doubleSpinBox->textcxx . . $ QAbstractSpinBox#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::handleSlidercxx . . $ ConfigurationEditor#handleSlider(dced9351d15d162f).(QSlidercxx . . $ QSlider# * slider, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 151 | { |
| 152 | stdcxx . . $ std/::stringcxx . . $ std/string# keyword = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(0); |
| 153 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 154 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 155 | { |
| 156 | int num = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm); |
| 157 | if (parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '-' || parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '+') parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1); |
| 158 | if (num == 0 && parm.find_first_not_ofcxx . . $ std/__cxx11/basic_string#find_first_not_of(91d5177563f5ce1b).("0123456789") != stdcxx . . $ std/::stringcxx . . $ std/string#::nposcxx . . $ std/__cxx11/basic_string#npos.) |
| 159 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 160 | slider->setValuecxx . . $ QAbstractSlider#setValue(d4f767463ce0a6b3).(num); |
| 161 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(bbd415b616967878).keyword] = slider->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).(); |
| 162 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2).lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0) |
| 163 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 164 | } |
| 165 | else |
| 166 | { |
| 167 | if(slider->isWindowModifiedcxx . . $ QWidget#isWindowModified(50ce9a9e25b4a850).()){}; |
| 168 | /*TODO: verification routine*/ |
| 169 | if (mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(bbd415b616967878).keyword] != slider->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).()) |
| 170 | { |
| 171 | stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream# scxx . . $ std/__cxx11/basic_stringstream#basic_stringstream(49f6e7a06ebc5aa8).; |
| 172 | s <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). slider->valuecxx . . $ QAbstractSlider#value(455f465bc33b4cdf).(); |
| 173 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = scxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f)..strcxx . . $ std/__cxx11/basic_stringstream#str(d33e1a6fd36255f7).(); |
| 174 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(s.strcxx . . $ std/__cxx11/basic_stringstream#str(d33e1a6fd36255f7).()); |
| 175 | } |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::handleCheckboxcxx . . $ ConfigurationEditor#handleCheckbox(7a2178d024289e0).(QCheckBoxcxx . . $ QCheckBox# * checkbox, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir, QStringcxx . . $ QString# checked, QStringcxx . . $ QString# unchecked) |
| 180 | { |
| 181 | QStringcxx . . $ QString# namecxx . . $ QString#QString(e1217c004a86c950).=configLinecxx . . $ QString#QString(85c52e162fed56f9).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(0).c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 182 | QStringcxx . . $ QString# parmcxx . . $ QString#QString(e1217c004a86c950).=configLinecxx . . $ QString#QString(85c52e162fed56f9).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1).c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 183 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(2,parm.toStdString()); |
| 184 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 185 | { |
| 186 | if (parm==cxx . . $ QString#`operator==`(7d4bdb1abc417636)."") parm=cxx . . $ QString#`operator=`(6a89d0b7f4d2681c).unchecked; |
| 187 | checkbox->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).( (parm.toUppercxx . . $ QString#toUpper(dca2c5857e9adf82).() ==cxx . . $ `operator==`(edf9e4f73813982f). checked ) ? true : false); |
| 188 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3).name.toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()] = checkbox->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).(); |
| 189 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2).lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0) |
| 190 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 191 | } |
| 192 | else |
| 193 | { |
| 194 | if ( (checkbox->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).() != mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3).name.toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()]) ) |
| 195 | { |
| 196 | if (checkbox->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 197 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(checked.toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 198 | else |
| 199 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(unchecked.toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 200 | } |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | |
| 205 | stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#,bool>ConfigurationEditorcxx . . $ ConfigurationEditor#::mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.; |
| 206 | stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#,int>ConfigurationEditorcxx . . $ ConfigurationEditor#::mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.; |
| 207 | |
| 208 | ConfigurationEditorcxx . . $ ConfigurationEditor#::ConfigurationEditorcxx . . $ ConfigurationEditor#ConfigurationEditor(49f6e7a06ebc5aa8).() |
| 209 | { |
| 210 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"ConfigurationEditor::ConfigurationEditor"); |
| 211 | } |
| 212 | |
| 213 | ConfigurationEditorcxx . . $ ConfigurationEditor#::~cxx . . $ ConfigurationEditor#`~ConfigurationEditor`(49f6e7a06ebc5aa8).ConfigurationEditorcxx . . $ ConfigurationEditor#() |
| 214 | { |
| 215 | } |
| 216 | |
| 217 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::ARCHMODEcxx . . $ ConfigurationEditor#ARCHMODE(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 218 | { |
| 219 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 220 | { |
| 221 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"ARCHMODE"); |
| 222 | stdcxx . . $ std/::stringcxx . . $ std/string# token = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1); |
| 223 | if (token ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "s/370") |
| 224 | configUi->s370Buttoncxx . . $ Ui_ConfigurationClass#s370Button.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 225 | else if (token ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "esa/390") |
| 226 | configUi->ESA390Buttoncxx . . $ Ui_ConfigurationClass#ESA390Button.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 227 | else if ((token ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "esame") || (token ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "z/arch") || (token ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "z/arch")) |
| 228 | configUi->ZArchButtoncxx . . $ Ui_ConfigurationClass#ZArchButton.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 229 | else |
| 230 | { |
| 231 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 232 | } |
| 233 | int value; |
| 234 | if (configUi->s370Buttoncxx . . $ Ui_ConfigurationClass#s370Button.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value = 0; |
| 235 | else if (configUi->ESA390Buttoncxx . . $ Ui_ConfigurationClass#ESA390Button.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value = 1; |
| 236 | else value = 2; |
| 237 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."ARCHMODE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = value; |
| 238 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine, 1); |
| 239 | } |
| 240 | else |
| 241 | { |
| 242 | int value; |
| 243 | if (configUi->s370Buttoncxx . . $ Ui_ConfigurationClass#s370Button.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value = 0; |
| 244 | else if (configUi->ESA390Buttoncxx . . $ Ui_ConfigurationClass#ESA390Button.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value = 1; |
| 245 | else value = 2; |
| 246 | if (value != mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."ARCHMODE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).]) |
| 247 | { |
| 248 | stdcxx . . $ std/::stringcxx . . $ std/string# parmcxx . . $ std/__cxx11/basic_string#basic_string(49f6e7a06ebc5aa8).; |
| 249 | if (configUi->s370Buttoncxx . . $ Ui_ConfigurationClass#s370Button.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 250 | parm=cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74)."S/370"; |
| 251 | else if(configUi->ESA390Buttoncxx . . $ Ui_ConfigurationClass#ESA390Button.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 252 | parm=cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74)."ESA/390"; |
| 253 | else |
| 254 | parm=cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74)."z/Arch"; |
| 255 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(parm); |
| 256 | } |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | CheckBoxItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:49:9`!(ASN_AND_LX_REUSE,alrfCheck, ENABLE, DISABLE) |
| 261 | //CheckBoxItem(ALRF,alrfCheck, ENABLE, DISABLE) |
| 262 | |
| 263 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::ALRFcxx . . $ ConfigurationEditor#ALRF(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 264 | { |
| 265 | handleCheckboxcxx . . $ ConfigurationEditor#handleCheckbox(7a2178d024289e0).(configUi->alrfCheckcxx . . $ Ui_ConfigurationClass#alrfCheck., configLine, dir, "ENABLE"cxx . . $ QString#QString(e1217c004a86c950)., "DISABLE"cxx . . $ QString#QString(e1217c004a86c950).); |
| 266 | } |
| 267 | |
| 268 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::AUTO_MOUNTcxx . . $ ConfigurationEditor#AUTO_MOUNT(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 269 | { |
| 270 | // TODO: accept "-", but do not generate one |
| 271 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"AUTO_MOUNT"); |
| 272 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 273 | { |
| 274 | stdcxx . . $ std/::stringcxx . . $ std/string# parm=configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 275 | if (parm==cxx . . $ std/`operator==`(4b17aa87c9f300c6)."+" || parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "-") |
| 276 | parm=cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906).configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 277 | configUi->autoMountDircxx . . $ Ui_ConfigurationClass#autoMountDir.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(parmcxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 278 | } |
| 279 | else if (configUi->autoMountDircxx . . $ Ui_ConfigurationClass#autoMountDir.->isModifiedcxx . . $ QLineEdit#isModified(50ce9a9e25b4a850).()) |
| 280 | { |
| 281 | const stdcxx . . $ std/::stringcxx . . $ std/string# val = configUicxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->autoMountDircxx . . $ Ui_ConfigurationClass#autoMountDir.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).(); |
| 282 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(val); |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::AUTO_SCSI_MOUNTcxx . . $ ConfigurationEditor#AUTO_SCSI_MOUNT(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 287 | { |
| 288 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"AUTO_SCSI_MOUNT"); |
| 289 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 290 | { |
| 291 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1); |
| 292 | int num = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm); |
| 293 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 0) |
| 294 | num = 50; |
| 295 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0 && parm.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("yes") == 0) |
| 296 | { |
| 297 | configUi->autoScsiMountCheckcxx . . $ Ui_ConfigurationClass#autoScsiMountCheck.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 298 | configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->setDisabledcxx . . $ QWidget#setDisabled(b45ddcbc8423892c).(false); |
| 299 | configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(50); |
| 300 | } |
| 301 | else if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0 && parm.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("no") == 0) |
| 302 | { |
| 303 | |
| 304 | configUi->autoScsiMountCheckcxx . . $ Ui_ConfigurationClass#autoScsiMountCheck.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 305 | configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->setDisabledcxx . . $ QWidget#setDisabled(b45ddcbc8423892c).(false); |
| 306 | configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(num); |
| 307 | } |
| 308 | else |
| 309 | { |
| 310 | configUi->autoScsiMountCheckcxx . . $ Ui_ConfigurationClass#autoScsiMountCheck.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 311 | configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(num); |
| 312 | configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->setDisabledcxx . . $ QWidget#setDisabled(b45ddcbc8423892c).(true); |
| 313 | } |
| 314 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."AUTO_SCSI_MOUNT"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->autoScsiMountCheckcxx . . $ Ui_ConfigurationClass#autoScsiMountCheck.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).(); |
| 315 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."AUTO_SCSI_MOUNT"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 316 | } |
| 317 | else if (mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."AUTO_SCSI_MOUNT"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->autoScsiMountCheckcxx . . $ Ui_ConfigurationClass#autoScsiMountCheck.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).() || |
| 318 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."AUTO_SCSI_MOUNT"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).() ) |
| 319 | { |
| 320 | stdcxx . . $ std/::stringcxx . . $ std/string# parmcxx . . $ std/__cxx11/basic_string#basic_string(49f6e7a06ebc5aa8).; |
| 321 | if (!configUi->autoScsiMountCheckcxx . . $ Ui_ConfigurationClass#autoScsiMountCheck.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 322 | { |
| 323 | parm =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "NO"; |
| 324 | } |
| 325 | else |
| 326 | { |
| 327 | int val = configUi->autoScisiSecSpincxx . . $ Ui_ConfigurationClass#autoScisiSecSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 328 | stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream# scxx . . $ std/__cxx11/basic_stringstream#basic_stringstream(49f6e7a06ebc5aa8).; |
| 329 | s <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). val; |
| 330 | parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). s.strcxx . . $ std/__cxx11/basic_stringstream#str(d33e1a6fd36255f7).(); |
| 331 | } |
| 332 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(3,"parm=" << parm); |
| 333 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(parm); |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(CNSLPORT,ConsolePortSpin, 3270) |
| 338 | |
| 339 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::CONKPALVcxx . . $ ConfigurationEditor#CONKPALV(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# *, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 340 | { |
| 341 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 342 | { |
| 343 | // just parse (we do not yet have a screen display for this parameter |
| 344 | QRegExpcxx . . $ QRegExp# expcxx . . $ QRegExp#QRegExp(31e086911ff70bd0).("\\s+\\((\\d*),(\\d*),(\\d*)\\)"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 345 | |
| 346 | QStringcxx . . $ QString# linecxx . . $ QString#QString(85c52e162fed56f9).(configLine->getLinecxx . . $ ConfigLine#getLine(f4fff0029955a25f).().substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(8).c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 347 | if (exp.indexIncxx . . $ QRegExp#indexIn(46f502bdfc4aeb33).(line) == -1) |
| 348 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(8); |
| 349 | else |
| 350 | configLine->setNoErrorcxx . . $ ConfigLine#setNoError(83f5f38750778ac8).(); |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(CPUMODEL,CpuModel) |
| 355 | SliderItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:43:9`!(CPUPRIO,cpuPrioSlider) |
| 356 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(CPUSERIAL,cpuSerial) |
| 357 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(CPUVERID,cpuVerid) |
| 358 | SliderItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:43:9`!(DEVPRIO,devPrioSlider) |
| 359 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(DEVTMAX,devTMaxSpin, 0) |
| 360 | |
| 361 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::DIAG8CMDcxx . . $ ConfigurationEditor#DIAG8CMD(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 362 | { |
| 363 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"DIAG8CMD"); |
| 364 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 365 | { |
| 366 | stdcxx . . $ std/::stringcxx . . $ std/string# enableDisable = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1); |
| 367 | stdcxx . . $ std/::stringcxx . . $ std/string# echoNoEcho = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(2); |
| 368 | |
| 369 | if (enableDisable.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("enable") == 0) |
| 370 | configUi->diag8CmdCheckBoxcxx . . $ Ui_ConfigurationClass#diag8CmdCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 371 | else if (enableDisable.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("disable") == 0) |
| 372 | configUi->diag8CmdCheckBoxcxx . . $ Ui_ConfigurationClass#diag8CmdCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 373 | else |
| 374 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 375 | |
| 376 | if (echoNoEcho.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0 && echoNoEcho.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("echo") == 0) |
| 377 | configUi->diag8EchoCheckBoxcxx . . $ Ui_ConfigurationClass#diag8EchoCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 378 | else if (echoNoEcho.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0 && echoNoEcho.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("noecho") == 0) |
| 379 | configUi->diag8EchoCheckBoxcxx . . $ Ui_ConfigurationClass#diag8EchoCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 380 | else if (echoNoEcho.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 0) |
| 381 | configUi->diag8EchoCheckBoxcxx . . $ Ui_ConfigurationClass#diag8EchoCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 382 | else configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 383 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine, 2); |
| 384 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."DIAG8CMD"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).]=configUi->diag8CmdCheckBoxcxx . . $ Ui_ConfigurationClass#diag8CmdCheckBox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).(); |
| 385 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."DIAG8ECHO"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).]=configUi->diag8EchoCheckBoxcxx . . $ Ui_ConfigurationClass#diag8EchoCheckBox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).(); |
| 386 | } |
| 387 | else if (mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."DIAG8CMD"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->diag8CmdCheckBoxcxx . . $ Ui_ConfigurationClass#diag8CmdCheckBox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).() || |
| 388 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."DIAG8ECHO"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).]!= configUi->diag8EchoCheckBoxcxx . . $ Ui_ConfigurationClass#diag8EchoCheckBox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 389 | { |
| 390 | stdcxx . . $ std/::stringcxx . . $ std/string# enablecxx . . $ std/__cxx11/basic_string#basic_string(49f6e7a06ebc5aa8)., echocxx . . $ std/__cxx11/basic_string#basic_string(49f6e7a06ebc5aa8).; |
| 391 | if (configUi->diag8EchoCheckBoxcxx . . $ Ui_ConfigurationClass#diag8EchoCheckBox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 392 | echo =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "ECHO"; |
| 393 | else |
| 394 | echo =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "NOECHO"; |
| 395 | if (configUi->diag8CmdCheckBoxcxx . . $ Ui_ConfigurationClass#diag8CmdCheckBox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 396 | enable =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "ENABLE"; |
| 397 | else |
| 398 | enable =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "DISABLE"; |
| 399 | |
| 400 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = enablecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f). +cxx . . $ std/operator+(40fc1db9226233c6). " " +cxx . . $ std/operator+(db5dc2ea912c6495). echo; |
| 401 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(parm); |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(ENGINES,engines) |
| 406 | |
| 407 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::ECPSVMcxx . . $ ConfigurationEditor#ECPSVM(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 408 | { |
| 409 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"ECPSVM"); |
| 410 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 411 | { |
| 412 | if (configLine->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1) ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "yes" || configLine->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1) ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "level") |
| 413 | { |
| 414 | configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 415 | configUi->ecpSvmcxx . . $ Ui_ConfigurationClass#ecpSvm.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 416 | int level = 20; |
| 417 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2) !=cxx . . $ std/`operator!=`(4b17aa87c9f300c6). "") |
| 418 | level = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2)); |
| 419 | configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(level); |
| 420 | } |
| 421 | else if (configLine->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1) ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "no") |
| 422 | { |
| 423 | configUi->ecpSvmcxx . . $ Ui_ConfigurationClass#ecpSvm.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 424 | configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(20); |
| 425 | configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 426 | } |
| 427 | else configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 428 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."ECPSVM"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->ecpSvmcxx . . $ Ui_ConfigurationClass#ecpSvm.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).(); |
| 429 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."ECPSVM"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 430 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine, 1); |
| 431 | } |
| 432 | else if ( mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."ECPSVM"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->ecpSvmcxx . . $ Ui_ConfigurationClass#ecpSvm.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).() || |
| 433 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."ECPSVM"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).() ) |
| 434 | { |
| 435 | stdcxx . . $ std/::stringcxx . . $ std/string# parmcxx . . $ std/__cxx11/basic_string#basic_string(49f6e7a06ebc5aa8).; |
| 436 | if (configUi->ecpSvmcxx . . $ Ui_ConfigurationClass#ecpSvm.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 437 | { |
| 438 | stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream# sscxx . . $ std/__cxx11/basic_stringstream#basic_stringstream(49f6e7a06ebc5aa8).; |
| 439 | ss <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). configUi->ecpSvmSpincxx . . $ Ui_ConfigurationClass#ecpSvmSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 440 | parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). "LEVEL " +cxx . . $ std/operator+(39ed2c165380f78e). ss.strcxx . . $ std/__cxx11/basic_stringstream#str(d33e1a6fd36255f7).(); |
| 441 | } |
| 442 | else parm =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). "NO"; |
| 443 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(parm); |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | SliderItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:43:9`!(HERCPRIO,hercPrioSlider) |
| 448 | |
| 449 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::HTTPPORTcxx . . $ ConfigurationEditor#HTTPPORT(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) \ |
| 450 | { |
| 451 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"HTTPPORT"); |
| 452 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 453 | { |
| 454 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 455 | if ( parm.find_first_not_ofcxx . . $ std/__cxx11/basic_string#find_first_not_of(91d5177563f5ce1b).("01234567890") != stdcxx . . $ std/::stringcxx . . $ std/string#::nposcxx . . $ std/__cxx11/basic_string#npos. ) |
| 456 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 457 | int num = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm); |
| 458 | if (num !=0) |
| 459 | { |
| 460 | configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(num); |
| 461 | configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(true); |
| 462 | configUi->httpPortCheckBoxcxx . . $ Ui_ConfigurationClass#httpPortCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 463 | } |
| 464 | else |
| 465 | { |
| 466 | configUi->httpPortCheckBoxcxx . . $ Ui_ConfigurationClass#httpPortCheckBox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 467 | configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(0); |
| 468 | configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->setEnabledcxx . . $ QWidget#setEnabled(b45ddcbc8423892c).(false); |
| 469 | } |
| 470 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."HTTPPORT"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 471 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine,1); |
| 472 | } |
| 473 | else |
| 474 | { |
| 475 | if (mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."HTTPPORT"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).()) |
| 476 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(configUi->httpPortSpincxx . . $ Ui_ConfigurationClass#httpPortSpin.->textcxx . . $ QAbstractSpinBox#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::HTTPROOTcxx . . $ ConfigurationEditor#HTTPROOT(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 481 | { |
| 482 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"HTTPROOT"); |
| 483 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 484 | { |
| 485 | stdcxx . . $ std/::stringcxx . . $ std/string# parm=configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 486 | if (parm==cxx . . $ std/`operator==`(4b17aa87c9f300c6)."+" || parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "-") |
| 487 | parm=cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906).configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 488 | configUi->httpRootDircxx . . $ Ui_ConfigurationClass#httpRootDir.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(parmcxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 489 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine,1); |
| 490 | } |
| 491 | else if (configUi->httpRootDircxx . . $ Ui_ConfigurationClass#httpRootDir.->isModifiedcxx . . $ QLineEdit#isModified(50ce9a9e25b4a850).()) |
| 492 | { |
| 493 | const stdcxx . . $ std/::stringcxx . . $ std/string# val = configUicxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->httpRootDircxx . . $ Ui_ConfigurationClass#httpRootDir.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).(); |
| 494 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(val); |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(IODELAY,ioDelaySpin, 0) |
| 499 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(LDMOD,ldmod) |
| 500 | |
| 501 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::LEGACYSENSEIDcxx . . $ ConfigurationEditor#LEGACYSENSEID(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 502 | { |
| 503 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"LEGACYSENSEID"); |
| 504 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 505 | { |
| 506 | stdcxx . . $ std/::stringcxx . . $ std/string# parm=configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getUppercaseTokencxx . . $ ConfigLine#getUppercaseToken(ffc0d510d034206b).(1); |
| 507 | if ( (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "ON") || (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "ENABLE") ) |
| 508 | configUi->legacySenseIdCheckboxcxx . . $ Ui_ConfigurationClass#legacySenseIdCheckbox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 509 | else if ( (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "OFF") || (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "DISABLE") ) |
| 510 | configUi->legacySenseIdCheckboxcxx . . $ Ui_ConfigurationClass#legacySenseIdCheckbox.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(false); |
| 511 | else |
| 512 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 513 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine,1); |
| 514 | mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."LEGACYSENSEID"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->legacySenseIdCheckboxcxx . . $ Ui_ConfigurationClass#legacySenseIdCheckbox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).(); |
| 515 | } |
| 516 | else |
| 517 | { |
| 518 | if (mCheckBoxMapcxx . . $ ConfigurationEditor#mCheckBoxMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."LEGACYSENSEID"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->legacySenseIdCheckboxcxx . . $ Ui_ConfigurationClass#legacySenseIdCheckbox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 519 | { |
| 520 | if (configUi->legacySenseIdCheckboxcxx . . $ Ui_ConfigurationClass#legacySenseIdCheckbox.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 521 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("ENABLE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 522 | else |
| 523 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("DISABLE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 524 | } |
| 525 | } |
| 526 | } |
| 527 | |
| 528 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(LOADPARM,loadParm) |
| 529 | CheckBoxItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:49:9`!(LOGOPT,logopt, TIMESTAMP, NOTIMESTAMP) |
| 530 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(LPARNAME,lparName) |
| 531 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(MAINSIZE,mainSizeSpin, 64) |
| 532 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(MANUFACTURER,manufacturer) |
| 533 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(MODEL,model) |
| 534 | CheckBoxItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:49:9`!(MOUNTED_TAPE_REINIT,mountedTapeReinitCheckbox,ALLOW,DISALLOW) |
| 535 | |
| 536 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::MODPATHcxx . . $ ConfigurationEditor#MODPATH(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 537 | { |
| 538 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"MODPATH"); |
| 539 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 540 | { |
| 541 | stdcxx . . $ std/::stringcxx . . $ std/string# parm=configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 542 | configUi->modPathcxx . . $ Ui_ConfigurationClass#modPath.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(parmcxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 543 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine,1); |
| 544 | } |
| 545 | else if (configUi->modPathcxx . . $ Ui_ConfigurationClass#modPath.->isModifiedcxx . . $ QLineEdit#isModified(50ce9a9e25b4a850).()) |
| 546 | { |
| 547 | const stdcxx . . $ std/::stringcxx . . $ std/string# val = configUicxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->modPathcxx . . $ Ui_ConfigurationClass#modPath.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).(); |
| 548 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(val); |
| 549 | } |
| 550 | } |
| 551 | |
| 552 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(NUMCPU,numCpuSpin, 1) |
| 553 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(NUMVEC,numVecSpin, 0) |
| 554 | |
| 555 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::OSTAILORcxx . . $ ConfigurationEditor#OSTAILOR(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 556 | { |
| 557 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"OSTAILOR"); |
| 558 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 559 | { |
| 560 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getUppercaseTokencxx . . $ ConfigLine#getUppercaseToken(ffc0d510d034206b).(1); |
| 561 | int initialValue = 0; |
| 562 | if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "QUIET") |
| 563 | { |
| 564 | configUi->quietcxx . . $ Ui_ConfigurationClass#quiet.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 565 | initialValue = 1; |
| 566 | } |
| 567 | else if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "VM") |
| 568 | { |
| 569 | configUi->vmcxx . . $ Ui_ConfigurationClass#vm.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 570 | initialValue = 2; |
| 571 | } |
| 572 | else if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "VSE") |
| 573 | { |
| 574 | configUi->vsecxx . . $ Ui_ConfigurationClass#vse.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 575 | initialValue = 3; |
| 576 | } |
| 577 | else if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "LINUX") |
| 578 | { |
| 579 | configUi->linuxbcxx . . $ Ui_ConfigurationClass#linuxb.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 580 | initialValue = 4; |
| 581 | } |
| 582 | else if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "OS/390") |
| 583 | { |
| 584 | configUi->os390cxx . . $ Ui_ConfigurationClass#os390.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 585 | initialValue = 5; |
| 586 | |
| 587 | } |
| 588 | else if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "Z/OS") |
| 589 | { |
| 590 | configUi->zOScxx . . $ Ui_ConfigurationClass#zOS.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 591 | initialValue = 6; |
| 592 | } |
| 593 | else if (parm ==cxx . . $ std/`operator==`(4b17aa87c9f300c6). "") |
| 594 | { |
| 595 | configUi->nonecxx . . $ Ui_ConfigurationClass#none.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(true); |
| 596 | initialValue = 0; |
| 597 | } |
| 598 | else |
| 599 | { |
| 600 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 601 | } |
| 602 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine,1); |
| 603 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."OSTAILOR"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = initialValue; |
| 604 | } |
| 605 | else |
| 606 | { |
| 607 | int value; |
| 608 | if (configUi->quietcxx . . $ Ui_ConfigurationClass#quiet.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value=1; |
| 609 | else if (configUi->vmcxx . . $ Ui_ConfigurationClass#vm.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value=2; |
| 610 | else if (configUi->vsecxx . . $ Ui_ConfigurationClass#vse.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value=3; |
| 611 | else if (configUi->linuxbcxx . . $ Ui_ConfigurationClass#linuxb.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value=4; |
| 612 | else if (configUi->os390cxx . . $ Ui_ConfigurationClass#os390.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value=5; |
| 613 | else if (configUi->zOScxx . . $ Ui_ConfigurationClass#zOS.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) value=6; |
| 614 | else value=0; |
| 615 | if (value != mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."OSTAILOR"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).]) |
| 616 | { |
| 617 | if (configUi->quietcxx . . $ Ui_ConfigurationClass#quiet.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 618 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("QUIET"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 619 | else if (configUi->vmcxx . . $ Ui_ConfigurationClass#vm.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 620 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("VM"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 621 | else if (configUi->vsecxx . . $ Ui_ConfigurationClass#vse.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 622 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("VSE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 623 | else if (configUi->linuxbcxx . . $ Ui_ConfigurationClass#linuxb.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 624 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("LINUX"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 625 | else if (configUi->os390cxx . . $ Ui_ConfigurationClass#os390.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 626 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("OS/390"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 627 | else if (configUi->zOScxx . . $ Ui_ConfigurationClass#zOS.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 628 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("z/OS"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 629 | else if (configUi->nonecxx . . $ Ui_ConfigurationClass#none.->isCheckedcxx . . $ QAbstractButton#isChecked(50ce9a9e25b4a850).()) |
| 630 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).("NONE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).); |
| 631 | } |
| 632 | } |
| 633 | } |
| 634 | |
| 635 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::PANRATEcxx . . $ ConfigurationEditor#PANRATE(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 636 | { |
| 637 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(4,"PANRATE"); |
| 638 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 639 | { |
| 640 | stdcxx . . $ std/::stringcxx . . $ std/string# panRateSpin = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getLowercaseTokencxx . . $ ConfigLine#getLowercaseToken(ffc0d510d034206b).(1); |
| 641 | if (panRateSpin.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 0) |
| 642 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 643 | if (panRateSpin[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '+') panRateSpin =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). panRateSpin.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1); |
| 644 | int num = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(panRateSpin); |
| 645 | if (panRateSpin.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() > 0 && num == 0) |
| 646 | { |
| 647 | if (panRateSpin.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("fast") == 0) num=50; |
| 648 | else if (panRateSpin.comparecxx . . $ std/__cxx11/basic_string#compare(1fc9373649671084).("slow") == 0) num=500; |
| 649 | else |
| 650 | { |
| 651 | num = 500; |
| 652 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 653 | } |
| 654 | } |
| 655 | configUi->panRateSpincxx . . $ Ui_ConfigurationClass#panRateSpin.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(num); |
| 656 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."PANRATE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = configUi->panRateSpincxx . . $ Ui_ConfigurationClass#panRateSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 657 | if (configLine->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(2).lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() != 0) |
| 658 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(2)); |
| 659 | } |
| 660 | else |
| 661 | { |
| 662 | /*TODO: verification routine*/ |
| 663 | if (mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."PANRATE"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != configUi->panRateSpincxx . . $ Ui_ConfigurationClass#panRateSpin.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).()) |
| 664 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(configUi->panRateSpincxx . . $ Ui_ConfigurationClass#panRateSpin.->textcxx . . $ QAbstractSpinBox#text(6ef7b6c27b00b43d).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 665 | } |
| 666 | } |
| 667 | |
| 668 | CheckBoxItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:49:9`!(PGMPRDOS,pgmPrdOs,LICENSED,RESTRICTED) |
| 669 | TextItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:37:9`!(PLANT,plant) |
| 670 | CheckBoxItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:49:9`!(SHCMDOPT,shCmdOpt,DISABLE, NODIAG8) |
| 671 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(SHRDPORT,shrdPortSpin, 3990) |
| 672 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(SYSEPOCH,sysepochSpin, 1900) |
| 673 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(TIMERINT,timerIntSpin, 50) |
| 674 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(TODDRAG,todDragSpin, 0) |
| 675 | SliderItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:43:9`!(TODPRIO,todPrioSlider) |
| 676 | |
| 677 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::TZOFFSETcxx . . $ ConfigurationEditor#TZOFFSET(795376bae894a4a0).(Uicxx . . $ Ui/::ConfigurationClasscxx . . $ Ui/ConfigurationClass# * configUi, const ConfigLinecxx . . $ ConfigLine# * configLine, Directioncxx . . $ ConfigurationEditor#Direction# dir) |
| 678 | { |
| 679 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"TZOFFSET:"); |
| 680 | if (dir == toScreencxx . . $ ConfigurationEditor#toScreen.) |
| 681 | { |
| 682 | stdcxx . . $ std/::stringcxx . . $ std/string# parm = configLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f).->getTokencxx . . $ ConfigLine#getToken(ffc0d510d034206b).(1); |
| 683 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() < 4) |
| 684 | { |
| 685 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 686 | return; |
| 687 | } |
| 688 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"parm=" << parm); |
| 689 | int hh = 0, mm = 0; |
| 690 | int sig = 1; |
| 691 | if (parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '+') parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1); |
| 692 | if (parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0] == '-') |
| 693 | { |
| 694 | parm =cxx . . $ std/__cxx11/basic_string#`operator=`(706c69e8c742c906). parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1); |
| 695 | sig = -1; |
| 696 | } |
| 697 | if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 3) |
| 698 | { |
| 699 | hh = sig*(parm[cxx . . $ std/__cxx11/basic_string#`operator[]`(7b73c3179b3cb3ad).0]-'0'); |
| 700 | mm = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(1)); |
| 701 | } |
| 702 | else if (parm.lengthcxx . . $ std/__cxx11/basic_string#length(48278e53df7b52a5).() == 4) |
| 703 | { |
| 704 | hh = sig*parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(0,2)); |
| 705 | mm = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm.substrcxx . . $ std/__cxx11/basic_string#substr(149c655009c9bbd2).(2,2)); |
| 706 | } |
| 707 | else |
| 708 | { |
| 709 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(1)); |
| 710 | } |
| 711 | configUi->tzOffsetHHcxx . . $ Ui_ConfigurationClass#tzOffsetHH.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(hh); |
| 712 | configUi->tzOffsetMMcxx . . $ Ui_ConfigurationClass#tzOffsetMM.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(mm); |
| 713 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5,"HH:" << hh << "MM:" << mm); |
| 714 | mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."TZOFFSET"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(parm); |
| 715 | validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(configLine,1); |
| 716 | } |
| 717 | else |
| 718 | { |
| 719 | int iParm = configUi->tzOffsetHHcxx . . $ Ui_ConfigurationClass#tzOffsetHH.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).()*100 + configUi->tzOffsetMMcxx . . $ Ui_ConfigurationClass#tzOffsetMM.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 720 | if (mSpinMapcxx . . $ ConfigurationEditor#mSpinMap.[cxx . . $ std/map#`operator[]`(da459db78e6e18a3)."TZOFFSET"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).] != iParm) |
| 721 | { |
| 722 | QStringcxx . . $ QString# parm = configUicxx . . $ QString#QString(3520e46b33348bf6).->tzOffsetHHcxx . . $ Ui_ConfigurationClass#tzOffsetHH.->textcxx . . $ QAbstractSpinBox#text(6ef7b6c27b00b43d).() +cxx . . $ operator+(fab9b4f80031f353). configUi->tzOffsetMMcxx . . $ Ui_ConfigurationClass#tzOffsetMM.->textcxx . . $ QAbstractSpinBox#text(6ef7b6c27b00b43d).(); |
| 723 | hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(5, "parm:" << parm.toUtf8().data()); |
| 724 | const_cast<ConfigLinecxx . . $ ConfigLine# *>(configLine)->replaceParameterscxx . . $ ConfigLine#replaceParameters(9c546c94e5fcce4e).(parm.toStdStringcxx . . $ QString#toStdString(219584694fe2b248).()); |
| 725 | } |
| 726 | } |
| 727 | } |
| 728 | |
| 729 | |
| 730 | |
| 731 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(XPNDSIZE,xpndSizeSpin, 0) |
| 732 | SpinItemcxx . . $ `HercConfiguration/ConfigurationEditor.cpp:55:9`!(YROFFSET,yrOffsetSpin, 0) |
| 733 | |
| 734 | ///////////////////////////////////////////////////////////////////////////////////////////////// |
| 735 | |
| 736 | bool ConfigurationEditorcxx . . $ ConfigurationEditor#::validateNumcxx . . $ ConfigurationEditor#validateNum(495ddb8d7f661655).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str, int base) |
| 737 | { |
| 738 | if (base == 16) |
| 739 | { |
| 740 | QStringcxx . . $ QString# qstrcxx . . $ QString#QString(e1217c004a86c950). = strcxx . . $ QString#QString(85c52e162fed56f9)..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 741 | if (qstr.toLowercxx . . $ QString#toLower(dca2c5857e9adf82).().toStdStringcxx . . $ QString#toStdString(219584694fe2b248).().find_first_not_ofcxx . . $ std/__cxx11/basic_string#find_first_not_of(91d5177563f5ce1b).("0123456789abcdef") != stdcxx . . $ std/::stringcxx . . $ std/string#::nposcxx . . $ std/__cxx11/basic_string#npos.) |
| 742 | return false; |
| 743 | else |
| 744 | return true; |
| 745 | } |
| 746 | return true; |
| 747 | } |
| 748 | int ConfigurationEditorcxx . . $ ConfigurationEditor#::parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str, int base) |
| 749 | { |
| 750 | int ret=0; |
| 751 | int sign = 1; |
| 752 | const char *c = str.c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).(); |
| 753 | static stdcxx . . $ std/::stringcxx . . $ std/string# digitscxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f). = "0123456789abcdef"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 754 | if (*c == '-') |
| 755 | { |
| 756 | sign = -1; |
| 757 | c++; |
| 758 | } |
| 759 | for ( ; *c != '\0' ; c++) |
| 760 | { |
| 761 | char pc = *c; |
| 762 | if (base==10 && !isdigit(pc)) break; |
| 763 | if ( (pc <= 'Z') && (pc >= 'A') ) pc+=('a'-'A'); |
| 764 | ret *= base; |
| 765 | //ret += (*c-'0'); |
| 766 | size_t i = digits.find_first_ofcxx . . $ std/__cxx11/basic_string#find_first_of(625b4b37461b5dfd).(pc) ; |
| 767 | ret += i; |
| 768 | } |
| 769 | return ret*sign; |
| 770 | } |
| 771 | |
| 772 | stdcxx . . $ std/::stringcxx . . $ std/string# ConfigurationEditorcxx . . $ ConfigurationEditor#::normalizeNumcxx . . $ ConfigurationEditor#normalizeNum(5b54a3efe1460b8a).(const stdcxx . . $ std/::stringcxx . . $ std/string#& str, int width, int base) |
| 773 | { |
| 774 | int devno = parseNumcxx . . $ ConfigurationEditor#parseNum(7b1020165ab78f0a).(str,base); |
| 775 | stdcxx . . $ std/::stringstreamcxx . . $ std/stringstream# newLinecxx . . $ std/__cxx11/basic_stringstream#basic_stringstream(49f6e7a06ebc5aa8).; |
| 776 | newLine <<cxx . . $ std/basic_ostream#`operator<<`(d90e0e305b0e25c2). stdcxx . . $ std/::hexcxx . . $ std/hex(cf36cc481190cd1f). <<cxx . . $ std/`operator<<`(fe9a269018418773). stdcxx . . $ std/::setwcxx . . $ std/setw(f06ce2e9220601fb).(width) <<cxx . . $ std/`operator<<`(47f1cf32aeb3f1a2). stdcxx . . $ std/::setfillcxx . . $ std/setfill(ade351e831a1374a).('0') <<cxx . . $ std/basic_ostream#`operator<<`(d90e0e305b0e25c2). stdcxx . . $ std/::uppercasecxx . . $ std/uppercase(cf36cc481190cd1f). |
| 777 | <<cxx . . $ std/basic_ostream#`operator<<`(23b6575433a77e57). devno ; |
| 778 | return newLinecxx . . $ std/__cxx11/basic_string#basic_string(3bc0f77cdfbaa67f)..strcxx . . $ std/__cxx11/basic_stringstream#str(d33e1a6fd36255f7).(); |
| 779 | } |
| 780 | |
| 781 | void ConfigurationEditorcxx . . $ ConfigurationEditor#::validateMaxTokenscxx . . $ ConfigurationEditor#validateMaxTokens(69d7cd87ab9e55bb).(const ConfigLinecxx . . $ ConfigLine# * configLine, int maxNum) |
| 782 | { |
| 783 | if (configLine->sizecxx . . $ ConfigLine#size(455f465bc33b4cdf).() > maxNum+1) // size is 1-based maxNum is 0-based |
| 784 | configLine->setInErrorcxx . . $ ConfigLine#setInError(d76a70202c25db1).(configLine->getAbsoluteTokenColumncxx . . $ ConfigLine#getAbsoluteTokenColumn(7ccb52b1bfe01045).(maxNum+1)); |
| 785 | } |