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.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/checklists-example.html b/doc/html/checklists-example.html
index 8c58cfa8d..40f7db55c 100644
--- a/doc/html/checklists-example.html
+++ b/doc/html/checklists-example.html
@@ -94,7 +94,7 @@ protected slots:
#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="qpushbutton-h.html">ntqpushbutton.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;
/*
@@ -125,10 +125,10 @@ protected slots:
// create a list with 4 ListViewItems which will be parent items of other ListViewItems
<a href="tqvaluelist.html">TQValueList</a>&lt;TQListViewItem *&gt; parentList;
-<a name="x434"></a> parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="qchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 1", TQCheckListItem::CheckBoxController ) );
- parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="qchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 2", TQCheckListItem::CheckBoxController ) );
- parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="qchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 3", TQCheckListItem::CheckBoxController ) );
- parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="qchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 4", TQCheckListItem::CheckBoxController ) );
+<a name="x434"></a> parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="tqchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 1", TQCheckListItem::CheckBoxController ) );
+ parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="tqchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 2", TQCheckListItem::CheckBoxController ) );
+ parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="tqchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 3", TQCheckListItem::CheckBoxController ) );
+ parentList.<a href="tqvaluelist.html#append">append</a>( new <a href="tqchecklistitem.html">TQCheckListItem</a>( lv1, "Parent Item 4", TQCheckListItem::CheckBoxController ) );
<a href="qlistviewitem.html">TQListViewItem</a> *item = 0;
unsigned int num = 1;
@@ -138,7 +138,7 @@ protected slots:
item = *it;
// ...and create 5 checkable child ListViewItems for each parent item
for ( unsigned int i = 1; i &lt;= 5; i++ )
- (void)new <a href="qchecklistitem.html">TQCheckListItem</a>( item, TQString( "%1. Child of Parent %2" ).arg( i ).arg( num ), TQCheckListItem::CheckBox );
+ (void)new <a href="tqchecklistitem.html">TQCheckListItem</a>( item, TQString( "%1. Child of Parent %2" ).arg( i ).arg( num ), TQCheckListItem::CheckBox );
}
// Create another widget for layouting
@@ -146,7 +146,7 @@ protected slots:
tmp-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
// create a pushbutton
- <a href="ntqpushbutton.html">TQPushButton</a> *copy1 = new <a href="ntqpushbutton.html">TQPushButton</a>( " -&gt; ", this );
+ <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 );
<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()
@@ -170,7 +170,7 @@ protected slots:
tmp-&gt;<a href="ntqlayout.html#setMargin">setMargin</a>( 5 );
// create another pushbutton...
- <a href="ntqpushbutton.html">TQPushButton</a> *copy2 = new <a href="ntqpushbutton.html">TQPushButton</a>( " -&gt; ", this );
+ <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 );
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
@@ -200,7 +200,7 @@ void <a name="f249"></a>CheckLists::copy1to2()
// Insert first a controller Item into the second ListView. Always if Radio-ListViewItems
// are inserted into a Listview, the parent item of these MUST be a controller Item!
- <a href="qchecklistitem.html">TQCheckListItem</a> *item = new <a href="qchecklistitem.html">TQCheckListItem</a>( lv2, "Controller", TQCheckListItem::Controller );
+ <a href="tqchecklistitem.html">TQCheckListItem</a> *item = new <a href="tqchecklistitem.html">TQCheckListItem</a>( lv2, "Controller", TQCheckListItem::Controller );
<a name="x431"></a> item-&gt;<a href="qlistviewitem.html#setOpen">setOpen</a>( TRUE );
// iterate through the first ListView...
@@ -210,10 +210,10 @@ void <a name="f249"></a>CheckLists::copy1to2()
// ...if the item is checked...
if ( ( (TQCheckListItem*)it.<a href="qlistviewitemiterator.html#current">current</a>() )-&gt;isOn() )
// ...insert a Radio-ListViewItem with the same text into the second ListView
- (void)new <a href="qchecklistitem.html">TQCheckListItem</a>( item, it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 0 ), TQCheckListItem::RadioButton );
+ (void)new <a href="tqchecklistitem.html">TQCheckListItem</a>( item, it.<a href="qlistviewitemiterator.html#current">current</a>()-&gt;text( 0 ), TQCheckListItem::RadioButton );
<a name="x430"></a> if ( item-&gt;<a href="qlistviewitem.html#firstChild">firstChild</a>() )
- ( ( <a href="qchecklistitem.html">TQCheckListItem</a>* )item-&gt;<a href="qlistviewitem.html#firstChild">firstChild</a>() )-&gt;setOn( TRUE );
+ ( ( <a href="tqchecklistitem.html">TQCheckListItem</a>* )item-&gt;<a href="qlistviewitem.html#firstChild">firstChild</a>() )-&gt;setOn( TRUE );
}
/*