diff options
Diffstat (limited to 'examples/helpsystem/helpsystem.doc')
-rw-r--r-- | examples/helpsystem/helpsystem.doc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/helpsystem/helpsystem.doc b/examples/helpsystem/helpsystem.doc index 493491151..e9e647e6c 100644 --- a/examples/helpsystem/helpsystem.doc +++ b/examples/helpsystem/helpsystem.doc @@ -25,7 +25,7 @@ QHeader and QTable by reimplementing maybeTip(). The constructors differ from the QToolTip constructor in having a QHeader and a QTable respectively as the first parameter for - the constructor instead of a QWidget. This is because + the constructor instead of a TQWidget. This is because we want to ensure that only headers and tables can be passed as arguments. A QToolTipGroup can be provided as the second argument to show tooltips in, for example a statusbar. @@ -76,9 +76,9 @@ \skipto WhatsThis::WhatsThis - The WhatsThis class is a subclass of both QObject and + The WhatsThis class is a subclass of both TQObject and QWhatsThis and serves as a base class for the HeaderWhatsThis - and TableWhatsThis classes. \footnote Note that moc requires that QObject + and TableWhatsThis classes. \footnote Note that moc requires that TQObject is the first base class. \endfootnote WhatsThis reimplements clicked() which will be called when the user clicks inside the "What's this?" window. It also declares a signal @@ -91,8 +91,8 @@ but some widgets, like QTable, are more complex and have a viewport() widget which receives the events. If such a widget is passed to the constructor it will propagate the parameter to - the QWhatsThis constructor and store the QWidget pointer itself - in it's member variable to allow easier use of the QWidget API + the QWhatsThis constructor and store the TQWidget pointer itself + in it's member variable to allow easier use of the TQWidget API later on. \skipto bool WhatsThis::clicked \printuntil } @@ -124,7 +124,7 @@ a string which states the header's orientation and section. \footnote Note that we have to explicitly scope the orientation - (QObject or QWhatsThis) since HeaderWhatsThis uses multiple + (TQObject or QWhatsThis) since HeaderWhatsThis uses multiple inheritance. \endfootnote \printuntil } @@ -163,7 +163,7 @@ \printuntil assistant The MainWindow constructor creates an instance of - QAssistantClient using QString::null as the first argument + QAssistantClient using TQString::null as the first argument so that the system path is used. \printto QWhatsThis::whatsThisButton @@ -201,7 +201,7 @@ The destructor deletes the tooltips. We need to delete the tooltips explicitly since QToolTip is, as mentioned above, not - a subclass of QObject and the instances of QToolTip not will be + a subclass of TQObject and the instances of QToolTip not will be deleted when the widget is deleted. \printuntil } |