summaryrefslogtreecommitdiffstats
path: root/doc/html/checklists-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/checklists-example.html')
-rw-r--r--doc/html/checklists-example.html42
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 &lt;<a href="tqlistview-h.html">tqlistview.h</a>&gt;
-#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
+#include &lt;<a href="tqvbox-h.html">tqvbox.h</a>&gt;
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="tqvaluelist-h.html">tqvaluelist.h</a>&gt;
#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
-#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
+#include &lt;<a href="tqlayout-h.html">tqlayout.h</a>&gt;
/*
* 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-&gt;<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-&gt;<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-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *vbox1 = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay );
+ vbox1-&gt;<a href="tqlayout.html#setMargin">setMargin</a>( 5 );
// First child: a Label
-<a name="x423"></a> vbox1-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Check some items!", this ) );
+<a name="x423"></a> vbox1-&gt;<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-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( lv1 );
+ vbox1-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( lv1 );
<a name="x427"></a> lv1-&gt;<a href="tqlistview.html#addColumn">addColumn</a>( "Items" );
<a name="x429"></a> lv1-&gt;<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-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *tmp = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay );
+ tmp-&gt;<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>( " -&gt; ", this );
- tmp-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( copy1 );
+ tmp-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( copy1 );
<a name="x437"></a><a name="x433"></a> copy1-&gt;<a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( copy1-&gt;<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-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *vbox2 = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay );
+ vbox2-&gt;<a href="tqlayout.html#setMargin">setMargin</a>( 5 );
// and another label
- vbox2-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Check one item!", this ) );
+ vbox2-&gt;<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-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( lv2 );
+ vbox2-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( lv2 );
lv2-&gt;<a href="tqlistview.html#addColumn">addColumn</a>( "Items" );
lv2-&gt;<a href="tqlistview.html#setRootIsDecorated">setRootIsDecorated</a>( TRUE );
// another widget needed for layouting only
- tmp = new <a href="qvboxlayout.html">TQVBoxLayout</a>( lay );
- tmp-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
+ tmp = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay );
+ tmp-&gt;<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>( " -&gt; ", this );
- lay-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( copy2 );
+ lay-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( copy2 );
copy2-&gt;<a href="tqwidget.html#setMaximumWidth">setMaximumWidth</a>( copy2-&gt;<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-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
+ tmp = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( lay );
+ tmp-&gt;<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-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( label );
+ tmp-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( label );
}
/*