summaryrefslogtreecommitdiffstats
path: root/src/modules/theme/themefunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/themefunctions.cpp')
-rw-r--r--src/modules/theme/themefunctions.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/theme/themefunctions.cpp b/src/modules/theme/themefunctions.cpp
index c215d94..280d019 100644
--- a/src/modules/theme/themefunctions.cpp
+++ b/src/modules/theme/themefunctions.cpp
@@ -73,21 +73,21 @@ namespace KviThemeFunctions
pInfoFields = r.stringInfoFields();
- pValue = pInfoFields->tqfind("PackageType");
+ pValue = pInfoFields->find("PackageType");
if(!pValue)return notAValidThemePackage(szError);
if(!KviTQString::equalCI(*pValue,"ThemePack"))return notAValidThemePackage(szError);
- pValue = pInfoFields->tqfind("ThemePackVersion");
+ pValue = pInfoFields->find("ThemePackVersion");
if(!pValue)return notAValidThemePackage(szError);
if(!KviTQString::equalCI(*pValue,"1"))return notAValidThemePackage(szError);
// make sure the default fields exist
for(int i=0;i<6;i++)
{
- pValue = pInfoFields->tqfind(check_fields[i]);
+ pValue = pInfoFields->find(check_fields[i]);
if(!pValue)return notAValidThemePackage(szError);
}
- pValue = pInfoFields->tqfind("ThemeCount");
+ pValue = pInfoFields->find("ThemeCount");
if(!pValue)return notAValidThemePackage(szError);
bool bOk;
int iThemeCount = pValue->toInt(&bOk);
@@ -97,7 +97,7 @@ namespace KviThemeFunctions
// ok.. it should be really valid at this point
// load its picture
- pByteArray = r.binaryInfoFields()->tqfind("Image");
+ pByteArray = r.binaryInfoFields()->find("Image");
if(pByteArray)
pix.loadFromData(*pByteArray,0,0);
@@ -164,7 +164,7 @@ namespace KviThemeFunctions
r.getStringInfoField(szTmp,szThemeThemeEngineVersion);
KviTQString::sprintf(szTmp,"Theme%dScreenshot",iIdx);
TQPixmap pixScreenshot;
- pByteArray = r.binaryInfoFields()->tqfind(szTmp);
+ pByteArray = r.binaryInfoFields()->find(szTmp);
if(pByteArray)
pixScreenshot.loadFromData(*pByteArray,0,0);