diff options
Diffstat (limited to 'doc/html/checklists-example.html')
-rw-r--r-- | doc/html/checklists-example.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/checklists-example.html b/doc/html/checklists-example.html index 05a2d604d..41d6a4d31 100644 --- a/doc/html/checklists-example.html +++ b/doc/html/checklists-example.html @@ -90,12 +90,12 @@ protected slots: #include "checklists.h" #include <<a href="tqlistview-h.html">tqlistview.h</a>> -#include <<a href="qvbox-h.html">ntqvbox.h</a>> +#include <<a href="tqvbox-h.html">tqvbox.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> #include <<a href="tqvaluelist-h.html">tqvaluelist.h</a>> #include <<a href="tqstring-h.html">tqstring.h</a>> #include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> -#include <<a href="qlayout-h.html">ntqlayout.h</a>> +#include <<a href="tqlayout-h.html">tqlayout.h</a>> /* * Constructor @@ -106,19 +106,19 @@ protected slots: <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 ); + <a href="tqhboxlayout.html">TQHBoxLayout</a> *lay = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( this ); +<a name="x426"></a> lay-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // create a widget which layouts its childs in a column - <a href="qvboxlayout.html">TQVBoxLayout</a> *vbox1 = new <a href="qvboxlayout.html">TQVBoxLayout</a>( lay ); - vbox1-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqvboxlayout.html">TQVBoxLayout</a> *vbox1 = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay ); + vbox1-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // First child: a Label -<a name="x423"></a> vbox1-><a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Check some items!", this ) ); +<a name="x423"></a> vbox1-><a href="tqboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Check some items!", this ) ); // Second child: the ListView lv1 = new <a href="tqlistview.html">TQListView</a>( this ); - vbox1-><a href="qboxlayout.html#addWidget">addWidget</a>( lv1 ); + vbox1-><a href="tqboxlayout.html#addWidget">addWidget</a>( lv1 ); <a name="x427"></a> lv1-><a href="tqlistview.html#addColumn">addColumn</a>( "Items" ); <a name="x429"></a> lv1-><a href="tqlistview.html#setRootIsDecorated">setRootIsDecorated</a>( TRUE ); @@ -142,46 +142,46 @@ protected slots: } // Create another widget for layouting - <a href="qvboxlayout.html">TQVBoxLayout</a> *tmp = new <a href="qvboxlayout.html">TQVBoxLayout</a>( lay ); - tmp-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqvboxlayout.html">TQVBoxLayout</a> *tmp = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay ); + tmp-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // create a pushbutton <a href="tqpushbutton.html">TQPushButton</a> *copy1 = new <a href="tqpushbutton.html">TQPushButton</a>( " -> ", this ); - tmp-><a href="qboxlayout.html#addWidget">addWidget</a>( copy1 ); + tmp-><a href="tqboxlayout.html#addWidget">addWidget</a>( copy1 ); <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="tqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( copy1to2() ) ); // another widget for layouting - <a href="qvboxlayout.html">TQVBoxLayout</a> *vbox2 = new <a href="qvboxlayout.html">TQVBoxLayout</a>( lay ); - vbox2-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqvboxlayout.html">TQVBoxLayout</a> *vbox2 = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay ); + vbox2-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // and another label - vbox2-><a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Check one item!", this ) ); + vbox2-><a href="tqboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Check one item!", this ) ); // create the second listview lv2 = new <a href="tqlistview.html">TQListView</a>( this ); - vbox2-><a href="qboxlayout.html#addWidget">addWidget</a>( lv2 ); + vbox2-><a href="tqboxlayout.html#addWidget">addWidget</a>( lv2 ); lv2-><a href="tqlistview.html#addColumn">addColumn</a>( "Items" ); lv2-><a href="tqlistview.html#setRootIsDecorated">setRootIsDecorated</a>( TRUE ); // another widget needed for layouting only - tmp = new <a href="qvboxlayout.html">TQVBoxLayout</a>( lay ); - tmp-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + tmp = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay ); + tmp-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // create another pushbutton... <a href="tqpushbutton.html">TQPushButton</a> *copy2 = new <a href="tqpushbutton.html">TQPushButton</a>( " -> ", this ); - lay-><a href="qboxlayout.html#addWidget">addWidget</a>( copy2 ); + lay-><a href="tqboxlayout.html#addWidget">addWidget</a>( copy2 ); 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="tqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( copy2to3() ) ); - tmp = new <a href="qvboxlayout.html">TQVBoxLayout</a>( lay ); - tmp-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + tmp = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay ); + tmp-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // and create a label which will be at the right of the window label = new <a href="tqlabel.html">TQLabel</a>( "No Item yet...", this ); - tmp-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); + tmp-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); } /* |