diff options
Diffstat (limited to 'doc/html/checklists-example.html')
-rw-r--r-- | doc/html/checklists-example.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/checklists-example.html b/doc/html/checklists-example.html index 9b1afe83..9a58769e 100644 --- a/doc/html/checklists-example.html +++ b/doc/html/checklists-example.html @@ -50,17 +50,17 @@ checkable items. #ifndef CHECKLISTS_H #define CHECKLISTS_H -#include <<a href="qwidget-h.html">ntqwidget.h</a>> +#include <<a href="tqwidget-h.html">tqwidget.h</a>> class TQListView; class TQLabel; -class CheckLists : public <a href="ntqwidget.html">TQWidget</a> +class CheckLists : public <a href="tqwidget.html">TQWidget</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - CheckLists( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); + CheckLists( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); protected: <a href="ntqlistview.html">TQListView</a> *lv1, *lv2; @@ -103,8 +103,8 @@ protected slots: * Create all child widgets of the CheckList Widget */ -<a name="f248"></a>CheckLists::CheckLists( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqwidget.html">TQWidget</a>( parent, name ) +<a name="f248"></a>CheckLists::CheckLists( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) + : <a href="tqwidget.html">TQWidget</a>( parent, name ) { <a href="qhboxlayout.html">TQHBoxLayout</a> *lay = new <a href="qhboxlayout.html">TQHBoxLayout</a>( this ); <a name="x426"></a> lay-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); @@ -148,7 +148,7 @@ protected slots: // create a pushbutton <a href="ntqpushbutton.html">TQPushButton</a> *copy1 = new <a href="ntqpushbutton.html">TQPushButton</a>( " -> ", this ); tmp-><a href="qboxlayout.html#addWidget">addWidget</a>( copy1 ); -<a name="x437"></a><a name="x433"></a> copy1-><a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( copy1-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); +<a name="x437"></a><a name="x433"></a> copy1-><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( copy1-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); // connect the TQ_SIGNAL clicked() of the pushbutton with the TQ_SLOT copy1to2() <a href="tqobject.html#connect">connect</a>( copy1, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( copy1to2() ) ); @@ -172,7 +172,7 @@ protected slots: // create another pushbutton... <a href="ntqpushbutton.html">TQPushButton</a> *copy2 = new <a href="ntqpushbutton.html">TQPushButton</a>( " -> ", this ); lay-><a href="qboxlayout.html#addWidget">addWidget</a>( copy2 ); - copy2-><a href="ntqwidget.html#setMaximumWidth">setMaximumWidth</a>( copy2-><a href="ntqwidget.html#sizeHint">sizeHint</a>().width() ); + copy2-><a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( copy2-><a href="tqwidget.html#sizeHint">sizeHint</a>().width() ); // ...and connect its clicked() TQ_SIGNAL to the copy2to3() TQ_SLOT <a href="tqobject.html#connect">connect</a>( copy2, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( copy2to3() ) ); @@ -262,10 +262,10 @@ int main( int argc, char **argv ) <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); CheckLists checklists; - checklists.<a href="ntqwidget.html#resize">resize</a>( 650, 350 ); - checklists.<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - CheckLists" ); + checklists.<a href="tqwidget.html#resize">resize</a>( 650, 350 ); + checklists.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - CheckLists" ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &checklists ); - checklists.<a href="ntqwidget.html#show">show</a>(); + checklists.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } |