From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/signalsandslots.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/signalsandslots.html') diff --git a/doc/html/signalsandslots.html b/doc/html/signalsandslots.html index e8efd185d..8f453eae4 100644 --- a/doc/html/signalsandslots.html +++ b/doc/html/signalsandslots.html @@ -70,7 +70,7 @@ ensures that if you connect a signal to a slot, the slot will be called with the signal's parameters at the right time. Signals and slots can take any number of arguments of any type. They are completely typesafe: no more callback core dumps! -

All classes that inherit from TQObject or one of its subclasses +

All classes that inherit from TQObject or one of its subclasses (e.g. TQWidget) can contain signals and slots. Signals are emitted by objects when they change their state in a way that may be interesting to the outside world. This is all the object does to communicate. It @@ -107,7 +107,7 @@ mechanism.

A small TQt class might read:

-    class Foo : public TQObject
+    class Foo : public TQObject
     {
         TQ_OBJECT
     public:
@@ -165,7 +165,7 @@ in the case of cyclic connections (e.g. if b.valueChanged()
 were connected to a.setValue()).
 

A signal is emitted for every connection you make, so if you duplicate a connection, two signals will be emitted. You can always -break a connection using TQObject::disconnect(). +break a connection using TQObject::disconnect().

This example illustrates that objects can work together without knowing about each other, as long as there is someone around to set up a connection between them initially. @@ -260,8 +260,8 @@ meta object. The meta object contains the names of all the signal and slot members, as well as pointers to these functions. (For more information on TQt's Meta Object System, see Why doesn't TQt use templates for signals and slots?.) -

The meta object contains additional information such as the object's class name. You can also check if an object -inherits a specific class, for example: +

The meta object contains additional information such as the object's class name. You can also check if an object +inherits a specific class, for example:

   if ( widget->inherits("TQButton") ) {
         // yes, it is a push button, radio button etc.
@@ -278,7 +278,7 @@ doesn't TQt use templates for signals and slots?.)
     class TQLCDNumber : public TQFrame
 
-

TQLCDNumber inherits TQObject, which has most of the signal/slot +

TQLCDNumber inherits TQObject, which has most of the signal/slot knowledge, via TQFrame and TQWidget, and #include's the relevant declarations.

-- 
cgit v1.2.1