diff options
Diffstat (limited to 'tqtinterface/qt4/tools/qtconfig/mainwindow.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/qtconfig/mainwindow.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tqtinterface/qt4/tools/qtconfig/mainwindow.cpp b/tqtinterface/qt4/tools/qtconfig/mainwindow.cpp index 03c6e1d..42e7033 100644 --- a/tqtinterface/qt4/tools/qtconfig/mainwindow.cpp +++ b/tqtinterface/qt4/tools/qtconfig/mainwindow.cpp @@ -238,14 +238,14 @@ MainWindow::MainWindow() if (s < gstylecombo->count()) { gstylecombo->setCurrentItem(s); } else { - // no predefined style, try to tqfind the closest match + // no predefined style, try to find the closest match // class names usually contain the name of the style, so we // iterate over the items in the combobox, and use the one whose // name is contained in the classname of the style s = 0; git = gstyles.begin(); while (git != gstyles.end()) { - if (currentstyle.tqcontains(*git)) + if (currentstyle.contains(*git)) break; s++; git++; @@ -274,7 +274,7 @@ MainWindow::MainWindow() TQStringList fs2 = TQT_TQSTRINGLIST_OBJECT(TQFont::substitutions()); TQStringList::Iterator fsit = fs2.begin(); while (fsit != fs2.end()) { - if (! fs.tqcontains(*fsit)) + if (! fs.contains(*fsit)) fs += *fsit; fsit++; } @@ -318,13 +318,13 @@ MainWindow::MainWindow() libpathlistbox->clear(); libpathlistbox->insertStringList(TQApplication::libraryPaths()); - // tqfind the default family + // find the default family TQStringList::Iterator sit = families.begin(); int i = 0, possible = -1; while (sit != families.end()) { if (*sit == TQApplication::font().family()) break; - if ((*sit).tqcontains(TQApplication::font().family())) + if ((*sit).contains(TQApplication::font().family())) possible = i; i++; @@ -347,7 +347,7 @@ MainWindow::MainWindow() while (sit != styles.end()) { if (*sit == stylestring) break; - if ((*sit).tqcontains(stylestring)) + if ((*sit).contains(stylestring)) possible = i; i++; @@ -398,7 +398,7 @@ MainWindow::MainWindow() // prevent to be listed in ordinary input method list. TQStringList::Iterator imIt = inputMethodIdentifiers.begin(); while (imIt != inputMethodIdentifiers.end()) { - if ((*imIt).tqfind("imsw-") == 0) + if ((*imIt).find("imsw-") == 0) imIt = inputMethodIdentifiers.remove(imIt); else imIt++; @@ -424,7 +424,7 @@ MainWindow::MainWindow() // default input method is XIM in X11. TQString currentIM = settings.readEntry("/qt/DefaultInputMethod", "xim"); { - int index = inputMethodIdentifiers.tqfindIndex(currentIM); + int index = inputMethodIdentifiers.findIndex(currentIM); // set up Selected input method. if (0 <= index && index < inputMethodIdentifiers.count()) { inputMethodCombo->setCurrentItem(index); |