summaryrefslogtreecommitdiffstats
path: root/doc/signalsandslots.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/signalsandslots.doc')
-rw-r--r--doc/signalsandslots.doc16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/signalsandslots.doc b/doc/signalsandslots.doc
index e746f405..04c4fa96 100644
--- a/doc/signalsandslots.doc
+++ b/doc/signalsandslots.doc
@@ -4,7 +4,7 @@
**
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
**
-** This file is part of the Qt GUI Toolkit.
+** This file is part of the TQt GUI Toolkit.
**
** This file may be used under the terms of the GNU General
** Public License versions 2.0 or 3.0 as published by the Free
@@ -13,7 +13,7 @@
** Alternatively you may (at your option) use any later version
** of the GNU General Public License if such license has been
** publicly approved by Trolltech ASA (or its successors, if any)
-** and the KDE Free Qt Foundation.
+** and the KDE Free TQt Foundation.
**
** Please review the following information to ensure GNU General
** Public Licensing requirements will be met:
@@ -41,7 +41,7 @@
\title Signals and Slots
Signals and slots are used for communication between objects. The
-signal/slot mechanism is a central feature of Qt and probably the
+signal/slot mechanism is a central feature of TQt and probably the
part that differs most from other toolkits.
In GUI programming we often want a change in one widget to be notified
@@ -64,7 +64,7 @@ callback to call.
\img abstract-connections.png
\caption An abstract view of some signals and slots connections
-In Qt we have an alternative to the callback technique. We use signals
+In TQt we have an alternative to the callback technique. We use signals
and slots. A signal is emitted when a particular event occurs. Qt's
widgets have many pre-defined signals, but we can always subclass to
add our own. A slot is a function that is called in reponse to a
@@ -125,7 +125,7 @@ A minimal C++ class declaration might read:
};
\endcode
-A small Qt class might read:
+A small TQt class might read:
\code
class Foo : public QObject
@@ -306,7 +306,7 @@ declaration in a C++ file and generates C++ code that initializes the
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 Qt's Meta Object System, see \link templates.html Why
-doesn't Qt use templates for signals and slots?\endlink.)
+doesn't TQt use templates for signals and slots?\endlink.)
The meta object contains additional information such as the object's \link
QObject::className() class name\endlink. You can also check if an object
@@ -372,7 +372,7 @@ any slot.
If, on the other hand, you want to call two different error functions
when the number overflows, simply connect the signal to two different
-slots. Qt will call both (in arbitrary order).
+slots. TQt will call both (in arbitrary order).
\code
public slots:
@@ -396,7 +396,7 @@ Several of the example programs connect the newValue() signal of a
QScrollBar to the display() slot, so the LCD number continuously shows
the value of the scroll bar.
-Note that display() is overloaded; Qt will select the appropriate version
+Note that display() is overloaded; TQt will select the appropriate version
when you connect a signal to the slot. With callbacks, you'd have to find
five different names and keep track of the types yourself.