summaryrefslogtreecommitdiffstats
path: root/doc/html/listbox-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/listbox-example.html')
-rw-r--r--doc/html/listbox-example.html52
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/listbox-example.html b/doc/html/listbox-example.html
index 81fe0c860..46f166126 100644
--- a/doc/html/listbox-example.html
+++ b/doc/html/listbox-example.html
@@ -78,8 +78,8 @@ private slots:
private:
<a href="ntqlistbox.html">TQListBox</a> * l;
- <a href="ntqspinbox.html">TQSpinBox</a> * columns;
- <a href="ntqspinbox.html">TQSpinBox</a> * rows;
+ <a href="tqspinbox.html">TQSpinBox</a> * columns;
+ <a href="tqspinbox.html">TQSpinBox</a> * rows;
<a href="ntqbuttongroup.html">TQButtonGroup</a> * bg;
};
@@ -102,13 +102,13 @@ private:
#include "listbox.h"
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
-#include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
-#include &lt;<a href="qcheckbox-h.html">ntqcheckbox.h</a>&gt;
-#include &lt;<a href="qspinbox-h.html">ntqspinbox.h</a>&gt;
+#include &lt;<a href="tqradiobutton-h.html">tqradiobutton.h</a>&gt;
+#include &lt;<a href="tqcheckbox-h.html">tqcheckbox.h</a>&gt;
+#include &lt;<a href="tqspinbox-h.html">tqspinbox.h</a>&gt;
#include &lt;<a href="qlistbox-h.html">ntqlistbox.h</a>&gt;
#include &lt;<a href="qbuttongroup-h.html">ntqbuttongroup.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.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;
<a name="f441"></a>ListBoxDemo::ListBoxDemo()
@@ -126,27 +126,27 @@ private:
<a href="qvboxlayout.html">TQVBoxLayout</a> * v = new <a href="qvboxlayout.html">TQVBoxLayout</a>;
<a name="x1430"></a> g-&gt;<a href="qgridlayout.html#addLayout">addLayout</a>( v, 1, 0 );
- <a href="ntqradiobutton.html">TQRadioButton</a> * b;
+ <a href="tqradiobutton.html">TQRadioButton</a> * b;
bg = new <a href="ntqbuttongroup.html">TQButtonGroup</a>( 0 );
- b = new <a href="ntqradiobutton.html">TQRadioButton</a>( "Fixed number of columns,\n"
+ b = new <a href="tqradiobutton.html">TQRadioButton</a>( "Fixed number of columns,\n"
"as many rows as needed.",
this );
<a name="x1428"></a> bg-&gt;<a href="ntqbuttongroup.html#insert">insert</a>( b );
<a name="x1425"></a> v-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( b );
-<a name="x1440"></a> b-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE );
+<a name="x1440"></a> b-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
<a name="x1426"></a> <a href="tqobject.html#connect">connect</a>( b, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(setNumCols()) );
<a href="qhboxlayout.html">TQHBoxLayout</a> * h = new <a href="qhboxlayout.html">TQHBoxLayout</a>;
<a name="x1422"></a> v-&gt;<a href="qboxlayout.html#addLayout">addLayout</a>( h );
<a name="x1423"></a> h-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 30 );
h-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 100 );
h-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Columns:", this ) );
- columns = new <a href="ntqspinbox.html">TQSpinBox</a>( this );
+ columns = new <a href="tqspinbox.html">TQSpinBox</a>( this );
h-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( columns );
v-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 );
- b = new <a href="ntqradiobutton.html">TQRadioButton</a>( "As many columns as fit on-screen,\n"
+ b = new <a href="tqradiobutton.html">TQRadioButton</a>( "As many columns as fit on-screen,\n"
"as many rows as needed.",
this );
bg-&gt;<a href="ntqbuttongroup.html#insert">insert</a>( b );
@@ -155,7 +155,7 @@ private:
v-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 );
- b = new <a href="ntqradiobutton.html">TQRadioButton</a>( "Fixed number of rows,\n"
+ b = new <a href="tqradiobutton.html">TQRadioButton</a>( "Fixed number of rows,\n"
"as many columns as needed.",
this );
bg-&gt;<a href="ntqbuttongroup.html#insert">insert</a>( b );
@@ -166,13 +166,13 @@ private:
h-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 30 );
h-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 100 );
h-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Rows:", this ) );
- rows = new <a href="ntqspinbox.html">TQSpinBox</a>( this );
+ rows = new <a href="tqspinbox.html">TQSpinBox</a>( this );
<a name="x1442"></a> rows-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
h-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( rows );
v-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 );
- b = new <a href="ntqradiobutton.html">TQRadioButton</a>( "As many rows as fit on-screen,\n"
+ b = new <a href="tqradiobutton.html">TQRadioButton</a>( "As many rows as fit on-screen,\n"
"as many columns as needed.",
this );
bg-&gt;<a href="ntqbuttongroup.html#insert">insert</a>( b );
@@ -181,25 +181,25 @@ private:
v-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 );
- <a href="ntqcheckbox.html">TQCheckBox</a> * cb = new <a href="ntqcheckbox.html">TQCheckBox</a>( "Variable-height rows", this );
-<a name="x1429"></a> cb-&gt;<a href="ntqcheckbox.html#setChecked">setChecked</a>( TRUE );
+ <a href="tqcheckbox.html">TQCheckBox</a> * cb = new <a href="tqcheckbox.html">TQCheckBox</a>( "Variable-height rows", this );
+<a name="x1429"></a> cb-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
<a name="x1427"></a> <a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL(<a href="ntqbutton.html#toggled">toggled</a>(bool)), this, TQ_SLOT(setVariableHeight(bool)) );
v-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( cb );
v-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 6 );
- cb = new <a href="ntqcheckbox.html">TQCheckBox</a>( "Variable-width columns", this );
+ cb = new <a href="tqcheckbox.html">TQCheckBox</a>( "Variable-width columns", this );
<a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL(<a href="ntqbutton.html#toggled">toggled</a>(bool)), this, TQ_SLOT(setVariableWidth(bool)) );
v-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( cb );
- cb = new <a href="ntqcheckbox.html">TQCheckBox</a>( "Extended-Selection", this );
+ cb = new <a href="tqcheckbox.html">TQCheckBox</a>( "Extended-Selection", this );
<a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL(<a href="ntqbutton.html#toggled">toggled</a>(bool)), this, TQ_SLOT(setMultiSelection(bool)) );
v-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( cb );
- <a href="ntqpushbutton.html">TQPushButton</a> *pb = new <a href="ntqpushbutton.html">TQPushButton</a>( "Sort ascending", this );
+ <a href="tqpushbutton.html">TQPushButton</a> *pb = new <a href="tqpushbutton.html">TQPushButton</a>( "Sort ascending", this );
<a href="tqobject.html#connect">connect</a>( pb, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( sortAscending() ) );
v-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( pb );
- pb = new <a href="ntqpushbutton.html">TQPushButton</a>( "Sort descending", this );
+ pb = new <a href="tqpushbutton.html">TQPushButton</a>( "Sort descending", this );
<a href="tqobject.html#connect">connect</a>( pb, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( sortDescending() ) );
v-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( pb );
@@ -210,12 +210,12 @@ private:
<a name="x1446"></a><a name="x1433"></a> l-&gt;<a href="ntqlistbox.html#insertItem">insertItem</a>( TQString::<a href="tqstring.html#fromLatin1">fromLatin1</a>( "Item " ) + TQString::number( i ),
i );
<a name="x1441"></a> columns-&gt;<a href="ntqrangecontrol.html#setRange">setRange</a>( 1, 256 );
-<a name="x1443"></a> columns-&gt;<a href="ntqspinbox.html#setValue">setValue</a>( 1 );
+<a name="x1443"></a> columns-&gt;<a href="tqspinbox.html#setValue">setValue</a>( 1 );
rows-&gt;<a href="ntqrangecontrol.html#setRange">setRange</a>( 1, 256 );
- rows-&gt;<a href="ntqspinbox.html#setValue">setValue</a>( 256 );
+ rows-&gt;<a href="tqspinbox.html#setValue">setValue</a>( 256 );
-<a name="x1445"></a> <a href="tqobject.html#connect">connect</a>( columns, TQ_SIGNAL(<a href="ntqspinbox.html#valueChanged">valueChanged</a>(int)), this, TQ_SLOT(setNumCols()) );
- <a href="tqobject.html#connect">connect</a>( rows, TQ_SIGNAL(<a href="ntqspinbox.html#valueChanged">valueChanged</a>(int)), this, TQ_SLOT(setNumRows()) );
+<a name="x1445"></a> <a href="tqobject.html#connect">connect</a>( columns, TQ_SIGNAL(<a href="tqspinbox.html#valueChanged">valueChanged</a>(int)), this, TQ_SLOT(setNumCols()) );
+ <a href="tqobject.html#connect">connect</a>( rows, TQ_SIGNAL(<a href="tqspinbox.html#valueChanged">valueChanged</a>(int)), this, TQ_SLOT(setNumRows()) );
}
@@ -229,7 +229,7 @@ void <a name="f442"></a>ListBoxDemo::setNumRows()
{
columns-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
rows-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
-<a name="x1444"></a><a name="x1435"></a> l-&gt;<a href="ntqlistbox.html#setRowMode">setRowMode</a>( rows-&gt;<a href="ntqspinbox.html#value">value</a>() );
+<a name="x1444"></a><a name="x1435"></a> l-&gt;<a href="ntqlistbox.html#setRowMode">setRowMode</a>( rows-&gt;<a href="tqspinbox.html#value">value</a>() );
}
@@ -237,7 +237,7 @@ void <a name="f443"></a>ListBoxDemo::setNumCols()
{
columns-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE );
rows-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
-<a name="x1434"></a> l-&gt;<a href="ntqlistbox.html#setColumnMode">setColumnMode</a>( columns-&gt;<a href="ntqspinbox.html#value">value</a>() );
+<a name="x1434"></a> l-&gt;<a href="ntqlistbox.html#setColumnMode">setColumnMode</a>( columns-&gt;<a href="tqspinbox.html#value">value</a>() );
}