summaryrefslogtreecommitdiffstats
path: root/doc/tutorial2.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial2.doc')
-rw-r--r--doc/tutorial2.doc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/tutorial2.doc b/doc/tutorial2.doc
index f4efb60a9..78f5f2bc7 100644
--- a/doc/tutorial2.doc
+++ b/doc/tutorial2.doc
@@ -306,7 +306,7 @@ which our users will create, edit and visualise their data sets.
\table
\row
\i For more information on Qt's data streaming facilities see \link
-datastreamformat.html QDataStream Operators' Formats\endlink, and see
+datastreamformat.html TQDataStream Operators' Formats\endlink, and see
the source code for any of the TQt classes mentioned that are similar
to what you want to store.
\endtable
@@ -488,13 +488,13 @@ and size and list their recently used files. This is achieved by
writing out their settings when the application is closed and reading
them back when we construct the form.
-\skipto QSettings
+\skipto TQSettings
\printuntil PIE
\skipto QFont
\printuntil updateRecentFilesMenu
-The QSettings class handles user settings in a platform-independent
-way. We simply read and write settings, leaving QSettings to handle
+The TQSettings class handles user settings in a platform-independent
+way. We simply read and write settings, leaving TQSettings to handle
the platform dependencies. The insertSearchPath() call does nothing
except under Windows so does not have to be \c{#ifdef}ed.
@@ -504,7 +504,7 @@ been run. The chart type is retrieved as an integer and cast to a
ChartType enum value. We create a default label font and then read the
"Font" setting, using the default we have just created if necessary.
-Although QSettings can handle string lists we've chosen to store each
+Although TQSettings can handle string lists we've chosen to store each
recently used file as a separate entry to make it easier to hand edit
the settings. We attempt to read each possible file entry ("File1" to
"File9"), and add each non-empty entry to the list of recently used
@@ -602,7 +602,7 @@ added a call to optionsSetData() and see which you prefer.
\printline
We check that it is okToClear(). If it is we use the static
-QFileDialog::getOpenFileName() function to get the name of the file
+TQFileDialog::getOpenFileName() function to get the name of the file
the user wishes to load. If we get a filename we call load().
\section2 fileSaveAs()
@@ -611,7 +611,7 @@ the user wishes to load. If we get a filename we call load().
\printuntil statusBar
\printline
-This function calls the static QFileDialog::getSaveFileName() to get
+This function calls the static TQFileDialog::getSaveFileName() to get
the name of the file to save the data in. If the file exists we use a
QMessageBox::warning() to notify the user and give them the option of
abandoning the save. If the file is to be saved we update the recently
@@ -680,7 +680,7 @@ position, chart type, etc., before terminating.
\skipto ::saveOptions(
\printuntil }
-Saving the user's options using QSettings is straight-forward.
+Saving the user's options using TQSettings is straight-forward.
\section1 Custom Dialogs
@@ -998,7 +998,7 @@ draw the chart and mark it as unchanged.
\skipto ::fileSave
\printline
\printline
-\skipto QFile
+\skipto TQFile
\printuntil FALSE
\printline