diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:14:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:14:01 -0600 |
commit | 32a249baaef1b910bffd79734c78cac3671f00f2 (patch) | |
tree | 07233b57d529ba723ec8d157152dada5b9cf8380 /src/kvilib/ext | |
parent | c6611272c2bc4a42580848946c8c5d81bb0409c7 (diff) | |
download | kvirc-32a249baaef1b910bffd79734c78cac3671f00f2.tar.gz kvirc-32a249baaef1b910bffd79734c78cac3671f00f2.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/kvilib/ext')
-rw-r--r-- | src/kvilib/ext/kvi_stringconversion.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/ext/kvi_stringconversion.cpp b/src/kvilib/ext/kvi_stringconversion.cpp index 2836628c..f316fc2a 100644 --- a/src/kvilib/ext/kvi_stringconversion.cpp +++ b/src/kvilib/ext/kvi_stringconversion.cpp @@ -234,17 +234,17 @@ namespace KviStringConversion bool fromString(const TQString & szValue,TQFont &buffer) { KviStr str = szValue; - KviStr family,pointSize,tqstyleHint,weight,options; + KviStr family,pointSize,styleHint,weight,options; str.getToken(family,','); str.getToken(pointSize,','); - str.getToken(tqstyleHint,','); + str.getToken(styleHint,','); str.getToken(weight,','); if(!family.isEmpty())buffer.setFamily(family.ptr()); int i; bool bOk; i = pointSize.toInt(&bOk); if(bOk && (i > 0))buffer.setPointSize(i); - i = tqstyleHint.toInt(&bOk); + i = styleHint.toInt(&bOk); if(bOk && (i >= 0))buffer.setStyleHint((TQFont::StyleHint)i); i = weight.toInt(&bOk); if(bOk && (i >= 0))buffer.setWeight(i); |