Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gscholz
spdrs60
qt-endl-v2.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qt-endl-v2.diff of Package spdrs60
diff --git a/spdrs60/element.cpp b/spdrs60/element.cpp index 5024cf7..076f53c 100644 --- a/spdrs60/element.cpp +++ b/spdrs60/element.cpp @@ -8641,15 +8641,15 @@ void element::slotUpdateCommanderData(int keyno, int keycolor) void element::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex<< Qt::endl; + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex<< endl; switch (classid) { case siciSt1: case siciTdr: case siciTdb: - ts << GF_TEXT << DS << sSoldText << Qt::endl; + ts << GF_TEXT << DS << sSoldText << endl; // fall through case siciTuh: case siciTuv: @@ -8666,59 +8666,59 @@ void element::writeFileTextToStream(QTextStream& ts) case siciCl2: case siciCl3: case siciCl4: - ts << GF_FBPORT << DS << iFBBusNo << DS << iFBContact << Qt::endl - << GF_HIDELEDS << DS << trackindicatoroff << Qt::endl; + ts << GF_FBPORT << DS << iFBBusNo << DS << iFBContact << endl + << GF_HIDELEDS << DS << trackindicatoroff << endl; break; case siciTxt: - ts << GF_INVERSTO << DS << iSoldInvert << Qt::endl - << GF_TEXT << DS << sSoldText << Qt::endl; + ts << GF_INVERSTO << DS << iSoldInvert << endl + << GF_TEXT << DS << sSoldText << endl; break; default: - ts << GF_INVERSTO << DS << iSoldInvert << Qt::endl + ts << GF_INVERSTO << DS << iSoldInvert << endl << GF_PROTOCOL1 << DS << ((protocol1 == GaMessage::proMM) ? "M" : (protocol1 == GaMessage::proDCC) ? "N" : (protocol1 == GaMessage::proServer) ? "P" : - (protocol1 == GaMessage::proSelectrix) ? "S" : "-1") << Qt::endl + (protocol1 == GaMessage::proSelectrix) ? "S" : "-1") << endl << GF_ADDRESS1 << DS << bus1 << DS << address1 << - DS << port1 << Qt::endl; + DS << port1 << endl; if (address2 != -1) { ts << GF_PROTOCOL2 << DS << ((protocol2 == GaMessage::proMM) ? "M" : (protocol2 == GaMessage::proDCC) ? "N" : (protocol2 == GaMessage::proServer) ? "P" : - (protocol2 == GaMessage::proSelectrix) ? "S" : "-1") << Qt::endl + (protocol2 == GaMessage::proSelectrix) ? "S" : "-1") << endl << GF_ADDRESS2 << DS << bus2 << DS << address2 << - DS << port2 << Qt::endl; + DS << port2 << endl; } - ts << GF_XCHCONN1 << DS << xchangeport1 << Qt::endl; + ts << GF_XCHCONN1 << DS << xchangeport1 << endl; if (address2 != -1) { - ts << GF_XCHCONN2 << DS << xchangeport2 << Qt::endl; - } - ts << GF_DIRECTION << DS << state << Qt::endl - << GF_SUBTYPE << DS << iSoldSubType << Qt::endl - << GF_TEXT << DS << sSoldText << Qt::endl - << GF_ACTTIME1 << DS << activetime1 << Qt::endl - << GF_ACTTIME2 << DS << activetime2 << Qt::endl - << GF_FBPORT << DS << iFBBusNo << DS << iFBContact << Qt::endl + ts << GF_XCHCONN2 << DS << xchangeport2 << endl; + } + ts << GF_DIRECTION << DS << state << endl + << GF_SUBTYPE << DS << iSoldSubType << endl + << GF_TEXT << DS << sSoldText << endl + << GF_ACTTIME1 << DS << activetime1 << endl + << GF_ACTTIME2 << DS << activetime2 << endl + << GF_FBPORT << DS << iFBBusNo << DS << iFBContact << endl /*for now: save two triggered buttons, if used or not*/ << GF_BUTTON1FB << DS << enable1fbtrigger << DS - << button1fbbus << DS << button1fbcontact << Qt::endl + << button1fbbus << DS << button1fbcontact << endl << GF_BUTTON2FB << DS << enable2fbtrigger << DS - << button2fbbus << DS << button2fbcontact << Qt::endl + << button2fbbus << DS << button2fbcontact << endl << GF_TRIGGERHALT << DS << octriggerhalt << DS << retriggerclear << DS << fbtriggerhaltbus << DS - << fbtriggerhaltcontact << Qt::endl + << fbtriggerhaltcontact << endl << GF_TRIGGERCLEAR << DS << octriggerclear << DS << retriggerhalt << DS << fbtriggerclearbus << DS - << fbtriggerclearcontact << Qt::endl - << GF_HIDELEDS << DS << trackindicatoroff << Qt::endl; + << fbtriggerclearcontact << endl + << GF_HIDELEDS << DS << trackindicatoroff << endl; break; } - ts << '%' << Qt::endl; + ts << '%' << endl; modified = false; } diff --git a/spdrs60/externalbuttonpanel.cpp b/spdrs60/externalbuttonpanel.cpp index 3ad01a2..e106d26 100644 --- a/spdrs60/externalbuttonpanel.cpp +++ b/spdrs60/externalbuttonpanel.cpp @@ -143,11 +143,11 @@ void ExternalButtonPanel::readFileTextFromStream(QTextStream& ats) void ExternalButtonPanel::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex << Qt::endl; + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex << endl; ts << GF_BUTTON1FB << DS << enable1fbtrigger << DS - << button1fbbus << DS << button1fbcontact << Qt::endl; - ts << '%' << Qt::endl; + << button1fbbus << DS << button1fbcontact << endl; + ts << '%' << endl; modified = false; } diff --git a/spdrs60/externalcounterpanel.cpp b/spdrs60/externalcounterpanel.cpp index e0f1a87..347b1c9 100644 --- a/spdrs60/externalcounterpanel.cpp +++ b/spdrs60/externalcounterpanel.cpp @@ -91,13 +91,13 @@ void ExternalCounterPanel::readFileTextFromStream(QTextStream& ats) void ExternalCounterPanel::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex << Qt::endl; + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex << endl; /*save also parameter of externalbuttonpanel*/ ts << GF_BUTTON1FB << DS << enable1fbtrigger << DS - << button1fbbus << DS << button1fbcontact << Qt::endl; - ts << GF_COUNTERVALUE << DS << countervalue << Qt::endl; - ts << '%' << Qt::endl; + << button1fbbus << DS << button1fbcontact << endl; + ts << GF_COUNTERVALUE << DS << countervalue << endl; + ts << '%' << endl; modified = false; } diff --git a/spdrs60/externaldualbuttonpanel.cpp b/spdrs60/externaldualbuttonpanel.cpp index f7b9f48..73c164d 100644 --- a/spdrs60/externaldualbuttonpanel.cpp +++ b/spdrs60/externaldualbuttonpanel.cpp @@ -140,13 +140,13 @@ void ExternalDualButtonPanel::readFileTextFromStream(QTextStream& ats) void ExternalDualButtonPanel::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex<< Qt::endl; + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex<< endl; ts << GF_BUTTON1FB << DS << enable1fbtrigger << DS - << button1fbbus << DS << button1fbcontact << Qt::endl; + << button1fbbus << DS << button1fbcontact << endl; ts << GF_BUTTON2FB << DS << enable2fbtrigger << DS - << button2fbbus << DS << button2fbcontact << Qt::endl; - ts << '%' << Qt::endl; + << button2fbbus << DS << button2fbcontact << endl; + ts << '%' << endl; modified = false; } @@ -156,7 +156,7 @@ void ExternalDualButtonPanel::writeFileTextToStream(QTextStream& ts) bool ExternalDualButtonPanel::showFeedbackTriggerDialog(const QPoint& p) { bool returnvalue = false; - + // select Button names; FHT WGT, WHT UfGT,... bool left = p.x() < (width() / 2); diff --git a/spdrs60/gbsarea.cpp b/spdrs60/gbsarea.cpp index b03dd79..ad00c33 100644 --- a/spdrs60/gbsarea.cpp +++ b/spdrs60/gbsarea.cpp @@ -222,18 +222,18 @@ void GBSArea::newFile(int newcols, int newrows, unsigned int newid, void GBSArea::writeFileTextToStream(QTextStream& ts) { - ts << "# start of layout section" << Qt::endl - << "%% layout" << Qt::endl - << "# layout dimensions=columns" << DS << "rows" << Qt::endl - << GF_DIMENSIONS << DS << cols << DS << rows << Qt::endl - << GF_ID << DS << layoutid << DS << layoutname << Qt::endl - << GF_TABLELIGHT << DS << (tablelight ? 1 : 0) << Qt::endl - << "# start of element section" << Qt::endl; - //<< "# elements=" << elements.count() << Qt::endl; + ts << "# start of layout section" << endl + << "%% layout" << endl + << "# layout dimensions=columns" << DS << "rows" << endl + << GF_DIMENSIONS << DS << cols << DS << rows << endl + << GF_ID << DS << layoutid << DS << layoutname << endl + << GF_TABLELIGHT << DS << (tablelight ? 1 : 0) << endl + << "# start of element section" << endl; + //<< "# elements=" << elements.count() << endl; for (int i = 0; i < elements.size(); i++) { if (elements[i] != NULL) { - ts << "%% element " << i << Qt::endl; + ts << "%% element " << i << endl; elements[i]->writeFileTextToStream(ts); } } diff --git a/spdrs60/keyboard.cpp b/spdrs60/keyboard.cpp index 27eac9a..f26f6d8 100644 --- a/spdrs60/keyboard.cpp +++ b/spdrs60/keyboard.cpp @@ -79,7 +79,7 @@ keyboard::keyboard(int protocol, busLE = new QLineEdit("1", this); QFontMetrics fm(busLE->font()); - int LEwidth = fm.horizontalAdvance("8888") + 10; + int LEwidth = fm.width("8888") + 10; busLE->setMaxLength(4); busLE->setMaximumWidth(LEwidth); QValidator* busValidator = new QIntValidator(1, 999, this); diff --git a/spdrs60/mainwindow.cpp b/spdrs60/mainwindow.cpp index 9031630..fa47d3d 100644 --- a/spdrs60/mainwindow.cpp +++ b/spdrs60/mainwindow.cpp @@ -373,49 +373,49 @@ void MainWindow::writeConfigFile() QString rtstr; rtstr.asprintf("%.2f", pref.ttroundtime); - ts << "# " PACKAGE " configuration file" << Qt::endl - << "# last modified: " << dt.toString(Qt::ISODate) << Qt::endl - << "#" << Qt::endl - << CF_SHOWHP2 << KS << (int) pref.hp2 << Qt::endl - << CF_TURNOUTBLINK << KS << (int) pref.blinkingturnouts << Qt::endl - << CF_DATATOOLTIPS << KS << (int) pref.datatooltips << Qt::endl - << CF_ADDRESSLABEL << KS << (int) pref.addresslabeling << Qt::endl - << CF_INITSIGNALS << KS << (int) pref.initsignalsred << Qt::endl - << CF_LAYOUTCOLS << KS << pref.layoutcols << Qt::endl - << CF_LAYOUTROWS << KS << pref.layoutrows << Qt::endl - << CF_SENDSTATE << KS << pref.sendstate << Qt::endl - << CF_CONVERTTIME << KS << pref.converttime << Qt::endl - << CF_FULLSCREEN << KS << (int) pref.fullscreen << Qt::endl - << CF_AUTOLOAD << KS << (int) pref.autoload << Qt::endl - << CF_AUTOLAYOUT << KS << pref.autolayout << Qt::endl - << CF_AUTOSAVE << KS << (int) pref.autosave << Qt::endl - << CF_EDITOR << KS << pref.editor << Qt::endl - << CF_BROWSER << KS << pref.browser << Qt::endl + ts << "# " PACKAGE " configuration file" << endl + << "# last modified: " << dt.toString(Qt::ISODate) << endl + << "#" << endl + << CF_SHOWHP2 << KS << (int) pref.hp2 << endl + << CF_TURNOUTBLINK << KS << (int) pref.blinkingturnouts << endl + << CF_DATATOOLTIPS << KS << (int) pref.datatooltips << endl + << CF_ADDRESSLABEL << KS << (int) pref.addresslabeling << endl + << CF_INITSIGNALS << KS << (int) pref.initsignalsred << endl + << CF_LAYOUTCOLS << KS << pref.layoutcols << endl + << CF_LAYOUTROWS << KS << pref.layoutrows << endl + << CF_SENDSTATE << KS << pref.sendstate << endl + << CF_CONVERTTIME << KS << pref.converttime << endl + << CF_FULLSCREEN << KS << (int) pref.fullscreen << endl + << CF_AUTOLOAD << KS << (int) pref.autoload << endl + << CF_AUTOLAYOUT << KS << pref.autolayout << endl + << CF_AUTOSAVE << KS << (int) pref.autosave << endl + << CF_EDITOR << KS << pref.editor << endl + << CF_BROWSER << KS << pref.browser << endl << CF_PROTOCOL << KS << ((pref.protocol == 1) ? "Motorola" : (pref.protocol == 0) ? "DCC" - : (pref.protocol == 3) ? "Selectrix" : "Server") << Qt::endl - << CF_ACTIVETIME << KS << pref.activetime << Qt::endl - << CF_AUTOTTDIR << KS << (int) pref.autottdir << Qt::endl - << CF_TTROUNDTIME << KS << rtstr << Qt::endl - << CF_ROUTINGTIME << KS << pref.routingtime << Qt::endl - << CF_FBMODSIZE << KS << pref.fbfactor << Qt::endl - << CF_FBMODTYPE << KS << pref.fbmoduletype << Qt::endl + : (pref.protocol == 3) ? "Selectrix" : "Server") << endl + << CF_ACTIVETIME << KS << pref.activetime << endl + << CF_AUTOTTDIR << KS << (int) pref.autottdir << endl + << CF_TTROUNDTIME << KS << rtstr << endl + << CF_ROUTINGTIME << KS << pref.routingtime << endl + << CF_FBMODSIZE << KS << pref.fbfactor << endl + << CF_FBMODTYPE << KS << pref.fbmoduletype << endl << CF_FBBUS1 << KS << pref.fbbus1.number - << CF_DS << pref.fbbus1.modules << Qt::endl + << CF_DS << pref.fbbus1.modules << endl << CF_FBBUS2 << KS << pref.fbbus2.number - << CF_DS << pref.fbbus2.modules << Qt::endl + << CF_DS << pref.fbbus2.modules << endl << CF_FBBUS3 << KS << pref.fbbus3.number - << CF_DS << pref.fbbus3.modules << Qt::endl + << CF_DS << pref.fbbus3.modules << endl << CF_FBBUS4 << KS << pref.fbbus4.number - << CF_DS << pref.fbbus4.modules << Qt::endl - << CF_LASTDIR << KS << lastDir << Qt::endl - << CF_KEYBOARD << KS << pref.keyboardprot << Qt::endl - << CF_GMROUTESTATE << KS << pref.gmbroadcastroutestate << Qt::endl - << CF_GMTRAINNUMBER << KS << pref.gmbroadcasttrainnumber << Qt::endl; + << CF_DS << pref.fbbus4.modules << endl + << CF_LASTDIR << KS << lastDir << endl + << CF_KEYBOARD << KS << pref.keyboardprot << endl + << CF_GMROUTESTATE << KS << pref.gmbroadcastroutestate << endl + << CF_GMTRAINNUMBER << KS << pref.gmbroadcasttrainnumber << endl; for (int i = recentFiles.size() - 1; i >= 0; --i) - ts << CF_RECENTFILE << KS << recentFiles.at(i) << Qt::endl; + ts << CF_RECENTFILE << KS << recentFiles.at(i) << endl; file.close(); } @@ -1429,15 +1429,15 @@ bool MainWindow::saveFile() QDateTime dt = QDateTime::currentDateTime(); // write the header - ts << "# spdrs60 data file" << Qt::endl - << "# version=" << VERSION << Qt::endl - << "# last modified=" << dt.toString(Qt::ISODate) << Qt::endl - << GF_FORMATVERSION << DS << GF_FV << Qt::endl + ts << "# spdrs60 data file" << endl + << "# version=" << VERSION << endl + << "# last modified=" << dt.toString(Qt::ISODate) << endl + << GF_FORMATVERSION << DS << GF_FV << endl << GF_CMDHOST << DS << commandPort->getHostname() << DS << commandPort->getPortNumber() << DS << cmdAutoLogin << DS << cmdAutoPower - << DS << cmdAutoSendAll << Qt::endl - << GF_RWCC << DS << rwccid << DS << rwccname << Qt::endl; + << DS << cmdAutoSendAll << endl + << GF_RWCC << DS << rwccid << DS << rwccname << endl; gbs->writeFileTextToStream(ts); router->writeFileTextToStream(ts); @@ -2294,10 +2294,8 @@ void MainWindow::slotAboutWeb() void MainWindow::slotShowClock() { QProcess* proc = new QProcess(this); - if (proc != NULL) { - proc->setProgram("centralclock"); - proc->start(); - } + if (proc != NULL) + proc->start("centralclock"); } diff --git a/spdrs60/messagehistory.cpp b/spdrs60/messagehistory.cpp index 6b77992..8b8a8a6 100644 --- a/spdrs60/messagehistory.cpp +++ b/spdrs60/messagehistory.cpp @@ -238,7 +238,7 @@ void MessageHistory::saveLog() QComboBox* currentcb = (QComboBox*)cbStack->currentWidget(); for (int i = 0; i < currentcb->count(); i++) { - ts << currentcb->itemText(i) << Qt::endl; + ts << currentcb->itemText(i) << endl; } file.close(); } diff --git a/spdrs60/route.cpp b/spdrs60/route.cpp index 73ddbce..00fc399 100644 --- a/spdrs60/route.cpp +++ b/spdrs60/route.cpp @@ -387,26 +387,26 @@ void Route::readFileTextFromStream(QTextStream& ts) void Route::writeFileTextToStream(QTextStream& ts) { - ts << RF_ID << DS << sectionid << Qt::endl - << RF_NAME << DS << sectionName << Qt::endl - << RF_TRAIN << DS << trainid << Qt::endl - << RF_LENGTH << DS << length << Qt::endl - << RF_SPEEDLIMIT << DS << speedlimit << Qt::endl + ts << RF_ID << DS << sectionid << endl + << RF_NAME << DS << sectionName << endl + << RF_TRAIN << DS << trainid << endl + << RF_LENGTH << DS << length << endl + << RF_SPEEDLIMIT << DS << speedlimit << endl << RF_EXITSIGNAL << DS << exitSignal.bus << DS - << exitSignal.address << Qt::endl - << RF_EXITTRACK << DS << exittrack << Qt::endl + << exitSignal.address << endl + << RF_EXITTRACK << DS << exittrack << endl << RF_ENTRYSIGNAL << DS << entrySignal.bus << DS - << entrySignal.address << DS << entrySignal.state << Qt::endl - << RF_ENTRYTRACK << DS << entrytrack << Qt::endl; + << entrySignal.address << DS << entrySignal.state << endl + << RF_ENTRYTRACK << DS << entrytrack << endl; if (trainNumberDisplay.address > 0) ts << RF_TNDISPLAY << DS << trainNumberDisplay.bus << DS << trainNumberDisplay.address/* << DS << trainNumberDisplay.state*/ - << Qt::endl; + << endl; ts << RF_RELEASEPORT << DS << rePort.bus << DS << rePort.address - << DS << rePort.used << DS << rePort.switchtooff << Qt::endl + << DS << rePort.used << DS << rePort.switchtooff << endl << RF_ACTIVATEPORT << DS << acPort.bus << DS << acPort.address - << DS << acPort.used << DS << acPort.switchtooff << Qt::endl - << RF_TYPE << DS << routeType << Qt::endl; + << DS << acPort.used << DS << acPort.switchtooff << endl + << RF_TYPE << DS << routeType << endl; QList<stateElement*>::const_iterator it; for (it = switchItems.constBegin(); it != switchItems.constEnd(); ++it) { @@ -414,7 +414,7 @@ void Route::writeFileTextToStream(QTextStream& ts) << RF_SWITCHXTOY << DS << (*it)->bus << DS << (*it)->address << DS - << (*it)->state << Qt::endl; + << (*it)->state << endl; } } diff --git a/spdrs60/router.cpp b/spdrs60/router.cpp index 4800941..3ef2f98 100644 --- a/spdrs60/router.cpp +++ b/spdrs60/router.cpp @@ -184,15 +184,15 @@ void Router::deleteRoute(Route* dr) void Router::writeFileTextToStream(QTextStream& ts) { ts - << "# start of route section" << Qt::endl - << "# routes=" << routeList.count() << Qt::endl; + << "# start of route section" << endl + << "# routes=" << routeList.count() << endl; unsigned int i = 0; QList<Route*>::const_iterator it; for (it = routeList.constBegin(); it != routeList.constEnd(); ++it) { i++; - ts << "%% route " << i << Qt::endl; + ts << "%% route " << i << endl; (*it)->writeFileTextToStream(ts); } modified = false; diff --git a/spdrs60/spdrpanel.cpp b/spdrs60/spdrpanel.cpp index bf1e04b..77bdc63 100644 --- a/spdrs60/spdrpanel.cpp +++ b/spdrs60/spdrpanel.cpp @@ -105,9 +105,9 @@ SpdrPanel::SpdrItemClassId SpdrPanel::classId() void SpdrPanel::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex << Qt::endl - << '%' << Qt::endl; + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex << endl + << '%' << endl; modified = false; } diff --git a/spdrs60/trainnumberdialog.cpp b/spdrs60/trainnumberdialog.cpp index ef42612..8810edd 100644 --- a/spdrs60/trainnumberdialog.cpp +++ b/spdrs60/trainnumberdialog.cpp @@ -50,7 +50,7 @@ TrainNumberDialog::TrainNumberDialog(QWidget* parent, const char* name) routeLE = new QLineEdit("1"); QFontMetrics fm(routeLE->font()); - int LEwidth = fm.horizontalAdvance("888888") + 10; + int LEwidth = fm.width("888888") + 10; routeLE->setMaxLength(5); routeLE->setMaximumWidth(LEwidth); QValidator* routeValidator = new QIntValidator(1, 99999, this); diff --git a/spdrs60/transfertablepanel.cpp b/spdrs60/transfertablepanel.cpp index 0fd8c21..52edc41 100644 --- a/spdrs60/transfertablepanel.cpp +++ b/spdrs60/transfertablepanel.cpp @@ -230,17 +230,17 @@ void TransferTablePanel::addTooltip() void TransferTablePanel::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex << Qt::endl + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex << endl << GF_PROTOCOL2 << DS << ((protocol == GaMessage::proMM) ? "M" : (protocol == GaMessage::proDCC) ? "N" : (protocol == GaMessage::proServer) ? "P" : - (protocol == GaMessage::proSelectrix) ? "S" : "-1") << Qt::endl - << GF_ADDRESS2 << DS << bus << DS << baseaddress << Qt::endl - << GF_ACTTIME2 << DS << activetime << Qt::endl - << GF_XCHCONN2 << DS << xchangeport << Qt::endl - << '%' << Qt::endl; + (protocol == GaMessage::proSelectrix) ? "S" : "-1") << endl + << GF_ADDRESS2 << DS << bus << DS << baseaddress << endl + << GF_ACTTIME2 << DS << activetime << endl + << GF_XCHCONN2 << DS << xchangeport << endl + << '%' << endl; modified = false; } diff --git a/spdrs60/turntablepanel.cpp b/spdrs60/turntablepanel.cpp index dd3970c..502e161 100644 --- a/spdrs60/turntablepanel.cpp +++ b/spdrs60/turntablepanel.cpp @@ -311,14 +311,14 @@ void TurntablePanel::addTooltip() void TurntablePanel::writeFileTextToStream(QTextStream& ts) { - ts << GF_CLASSID << DS << classid << Qt::endl - << GF_INDEX << DS << iSoldIndex << Qt::endl - << GF_ADDRESS2 << DS << bus << DS << baseaddress << Qt::endl - << GF_ACTTIME2 << DS << activetime << Qt::endl - << GF_XCHCONN2 << DS << xchangeport << Qt::endl - << GF_SUBTYPE << DS << iSoldSubType << Qt::endl - << GF_TEXT << DS << sSoldText << Qt::endl - << '%' << Qt::endl; + ts << GF_CLASSID << DS << classid << endl + << GF_INDEX << DS << iSoldIndex << endl + << GF_ADDRESS2 << DS << bus << DS << baseaddress << endl + << GF_ACTTIME2 << DS << activetime << endl + << GF_XCHCONN2 << DS << xchangeport << endl + << GF_SUBTYPE << DS << iSoldSubType << endl + << GF_TEXT << DS << sSoldText << endl + << '%' << endl; modified = false; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor