2021-02-23 Fred Gleason <fredg@paravelsystems.com>

* Removed the Qt3Support library from the build system.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-23 18:07:21 -05:00
parent b2f8532e25
commit 89a0d72439
508 changed files with 5763 additions and 6078 deletions

View File

@@ -146,13 +146,13 @@ bool RDProfile::setSource(const QString &filename)
profile_section.push_back(RDProfileSection());
profile_section.back().setName(section);
}
else if(((offset=line.find('='))!=-1)) {
else if(((offset=line.indexOf('='))!=-1)) {
profile_section.back().
addValue(line.left(offset),
line.right(line.length()-offset-1).stripWhiteSpace());
line.right(line.length()-offset-1).trimmed());
}
}
line=text->readLine().stripWhiteSpace();
line=text->readLine().trimmed();
}
delete text;
delete file;
@@ -179,10 +179,10 @@ void RDProfile::setSourceString(const QString &str)
profile_section.push_back(RDProfileSection());
profile_section.back().setName(section);
}
else if(((offset=line.find('='))!=-1)) {
else if(((offset=line.indexOf('='))!=-1)) {
profile_section.back().
addValue(line.left(offset),
line.right(line.length()-offset-1).stripWhiteSpace());
line.right(line.length()-offset-1).trimmed());
}
}
}
@@ -240,7 +240,7 @@ int RDProfile::hexValue(QString section,QString tag,
bool valid;
QString str=stringValue(section,tag);
if(str.left(2).lower()=="0x") {
if(str.left(2).toLower()=="0x") {
str=str.right(str.length()-2);
}
int result=str.toInt(&valid,16);
@@ -300,7 +300,7 @@ bool RDProfile::boolValue(QString section,QString tag,
{
bool valid;
QString str=stringValue(section,tag,"",&valid).lower();
QString str=stringValue(section,tag,"",&valid).toLower();
if(!valid) {
if(ok!=NULL) {
*ok=false;