diff options
Diffstat (limited to 'kcm_gtk')
-rw-r--r-- | kcm_gtk/kcmgtk.cpp | 8 |
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)); |