From d64f4816a5047d26f5250b28c0e01d43bcec9e90 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kcm_gtk/kcmgtk.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcm_gtk/kcmgtk.cpp') 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)); -- cgit v1.2.1