summaryrefslogtreecommitdiffstats
path: root/doc/tutorial2.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial2.doc')
-rw-r--r--doc/tutorial2.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial2.doc b/doc/tutorial2.doc
index 4066338e..c8ab9855 100644
--- a/doc/tutorial2.doc
+++ b/doc/tutorial2.doc
@@ -286,7 +286,7 @@ separator. The final field is the label followed by a newline.
To read an element we read one record (i.e. one line). We break the
data into fields using QStringList::split(). Because it is possible
that a label will contain \c FIELD_SEP characters we use
-QString::section() to extract all the text from the last field to the
+TQString::section() to extract all the text from the last field to the
end of the line. If there are enough fields and the value, colors and
pattern data is valid we use \c Element::set() to write this data into
the element; otherwise we leave the element \c INVALID. We then
@@ -556,7 +556,7 @@ the elements (in the \c m_elements \c ElementVector) when the form is
constructed, and also whenever the user loads an existing data set or
creates a new data set.
-We reset the caption and set the current filename to QString::null. We
+We reset the caption and set the current filename to TQString::null. We
also populate the elements vector with invalid elements. This isn't
necessary, but giving each element a different color is more
convenient for the user since when they enter values each one will
@@ -1215,7 +1215,7 @@ color and set the cell's text to the new color's name.
If the user clicks OK we must update the elements vector. We iterate
over the vector and set each element's value to the value the user has
entered or \c INVALID if the value is invalid. We set the value color
-and the label color by constructing QColor temporaries that take a
+and the label color by constructing TQColor temporaries that take a
color name as argument. The pattern is set to the pattern combobox's
current item with an offset of 1 (since our pattern numbers begin at
1, but the combobox's items are indexed from 0).