diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:33:07 -0600 |
commit | 805c2821ceaddada48b346c6d11bd0dc1351a539 (patch) | |
tree | f4f34d4fae6b86d1b1058f396da4729906edbadb /src/kvilib/ext | |
parent | 918c3ff07736f0c343cb190d3f0df99e4cb8dab8 (diff) | |
download | kvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.tar.gz kvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kvilib/ext')
-rw-r--r-- | src/kvilib/ext/kvi_osinfo.cpp | 6 | ||||
-rw-r--r-- | src/kvilib/ext/kvi_stringconversion.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/kvilib/ext/kvi_osinfo.cpp b/src/kvilib/ext/kvi_osinfo.cpp index 9d443c0b..f2f39d29 100644 --- a/src/kvilib/ext/kvi_osinfo.cpp +++ b/src/kvilib/ext/kvi_osinfo.cpp @@ -350,17 +350,17 @@ static TQString queryWinInfo( QueryInfo info) TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Hotfix\\Q246009"), 0, KEY_TQUERY_VALUE, &hKey ); if( lRet == ERROR_SUCCESS ) - szVersion+= TQString("Service Pack 6a (Build %1)").tqarg( osvi.dwBuildNumber & 0xFFFF ); + szVersion+= TQString("Service Pack 6a (Build %1)").arg( osvi.dwBuildNumber & 0xFFFF ); else // Windows NT 4.0 prior to SP6a { - szVersion+= TQString( "%1 (Build %2)").tqarg( osvi.szCSDVersion).tqarg( osvi.dwBuildNumber & 0xFFFF); + szVersion+= TQString( "%1 (Build %2)").arg( osvi.szCSDVersion).arg( osvi.dwBuildNumber & 0xFFFF); } RegCloseKey( hKey ); } else // not Windows NT 4.0 { - szVersion+= TQString( "%1 (Build %2)").tqarg( osvi.szCSDVersion).tqarg( osvi.dwBuildNumber & 0xFFFF); + szVersion+= TQString( "%1 (Build %2)").arg( osvi.szCSDVersion).arg( osvi.dwBuildNumber & 0xFFFF); } break; 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); |