From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- doc/html/tutorial2-05.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/tutorial2-05.html') diff --git a/doc/html/tutorial2-05.html b/doc/html/tutorial2-05.html index 22d1e7bee..8583795f3 100644 --- a/doc/html/tutorial2-05.html +++ b/doc/html/tutorial2-05.html @@ -42,7 +42,7 @@ conventional document-centric style.
    class ChartForm: public TQMainWindow
     {
-        Q_OBJECT
+        TQ_OBJECT
     public:
         enum { MAX_ELEMENTS = 100 };
         enum { MAX_RECENTFILES = 9 }; // Must not exceed 9
@@ -110,7 +110,7 @@ conventional document-centric style.
     };
 

We create a ChartForm subclass of TQMainWindow. Our subclass uses -the Q_OBJECT macro to support TQt's signals and slots mechanism. +the TQ_OBJECT macro to support TQt's signals and slots mechanism.

The public interface is very small; the type of chart being displayed can be retrieved, the chart can be marked 'changed' (so that the user will be prompted to save on exit), and the chart can be asked to draw -- cgit v1.2.1