summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/dialogs/tqfontdialog.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqfontdialog.cpp')
-rw-r--r--tqtinterface/qt4/src/dialogs/tqfontdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp b/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp
index fbccfa8..5a10f04 100644
--- a/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp
+++ b/tqtinterface/qt4/src/dialogs/tqfontdialog.cpp
@@ -523,7 +523,7 @@ void TQFontDialog::updateFamilies()
d->fdb.tqfamilies(TQFont::UnknownScript);
TQStringList::ConstIterator it = l.begin(), end = l.end();
for (; it != end; ++it) {
- if (! familyNames.tqcontains(*it))
+ if (! familyNames.contains(*it))
familyNames << *it;
}
}
@@ -625,12 +625,12 @@ void TQFontDialog::updateStyles()
}
}
if (!found && first) {
- if (cstyle.tqcontains("Italic")) {
- cstyle.tqreplace("Italic", "Oblique");
+ if (cstyle.contains("Italic")) {
+ cstyle.replace("Italic", "Oblique");
first = FALSE;
goto redo;
- } else if (cstyle.tqcontains("Oblique")) {
- cstyle.tqreplace("Oblique", "Italic");
+ } else if (cstyle.contains("Oblique")) {
+ cstyle.replace("Oblique", "Italic");
first = FALSE;
goto redo;
}