summaryrefslogtreecommitdiffstats
path: root/kcm_gtk
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitd64f4816a5047d26f5250b28c0e01d43bcec9e90 (patch)
treecbd22927146238a6b85d6427828a03c7d35e2e51 /kcm_gtk
parent21de1dcebcd6136c84f04dcffc632af4be07e07d (diff)
downloadgtk-qt-engine-d64f4816a5047d26f5250b28c0e01d43bcec9e90.tar.gz
gtk-qt-engine-d64f4816a5047d26f5250b28c0e01d43bcec9e90.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcm_gtk')
-rw-r--r--kcm_gtk/kcmgtk.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp
index 3b6b36e..11f1405 100644
--- a/kcm_gtk/kcmgtk.cpp
+++ b/kcm_gtk/kcmgtk.cpp
@@ -131,7 +131,7 @@ TQFont GtkRcParser::parseFont(TQString fontString)
TQFont ret;
while (true)
{
- int lastSpacePos = fontString.tqfindRev(' ');
+ int lastSpacePos = fontString.findRev(' ');
if (lastSpacePos == -1)
break;
@@ -215,7 +215,7 @@ void KcmGtk::getInstalledThemes()
{
if ((*it2).startsWith("."))
continue;
- if (themes.tqfind(*it2) != themes.end())
+ if (themes.find(*it2) != themes.end())
continue;
if (!TQFile::exists(path + (*it2) + "/gtk-2.0/gtkrc"))
continue;
@@ -226,7 +226,7 @@ void KcmGtk::getInstalledThemes()
widget->styleBox->clear();
widget->styleBox->insertStringList(themes.keys());
- bool installed = (themes.tqfind("Qt") != themes.end());
+ bool installed = (themes.find("Qt") != themes.end());
widget->styleKde->setEnabled(installed);
widget->warning1->setHidden(installed);
widget->warning2->setHidden(installed);
@@ -431,7 +431,7 @@ void KcmGtk::save()
TQString rcLine = "export GTK2_RC_FILES=$HOME/.gtkrc-2.0";
TQString fileDataString(fileData);
- fileDataString.tqreplace("\n" + rcLine, "\n# (This is no longer needed from version 0.8 of the theme engine)\n# " + rcLine);
+ fileDataString.replace("\n" + rcLine, "\n# (This is no longer needed from version 0.8 of the theme engine)\n# " + rcLine);
file.open(IO_WriteOnly);
stream.setDevice(TQT_TQIODEVICE(&file));