summaryrefslogtreecommitdiffstats
path: root/doc/tutorial2.doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-23 12:42:20 +0900
committerMichele Calgaro <[email protected]>2023-09-23 12:42:20 +0900
commitb35e0845dc9b3c8b9a5e52a682c769f383933fae (patch)
treee4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/tutorial2.doc
parent1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff)
downloadtqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz
tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
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 4066338e0..c8ab98555 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).