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.html30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/listbox-example.html b/doc/html/listbox-example.html
index 4e9ea2919..6d74e7da6 100644
--- a/doc/html/listbox-example.html
+++ b/doc/html/listbox-example.html
@@ -55,10 +55,10 @@ class TQSpinBox;
class TQListBox;
class TQButtonGroup;
-#include &lt;<a href="qwidget-h.html">ntqwidget.h</a>&gt;
+#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
-class ListBoxDemo: public <a href="ntqwidget.html">TQWidget</a>
+class ListBoxDemo: public <a href="tqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
@@ -112,7 +112,7 @@ private:
<a name="f441"></a>ListBoxDemo::ListBoxDemo()
- : <a href="ntqwidget.html">TQWidget</a>( 0, 0 )
+ : <a href="tqwidget.html">TQWidget</a>( 0, 0 )
{
<a href="qgridlayout.html">TQGridLayout</a> * g = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 6 );
@@ -121,7 +121,7 @@ private:
l = new <a href="ntqlistbox.html">TQListBox</a>( this );
g-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( l, 1, 1 );
-<a name="x1447"></a> l-&gt;<a href="ntqwidget.html#setFocusPolicy">setFocusPolicy</a>( TQWidget::StrongFocus );
+<a name="x1447"></a> l-&gt;<a href="tqwidget.html#setFocusPolicy">setFocusPolicy</a>( TQWidget::StrongFocus );
<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 );
@@ -167,7 +167,7 @@ private:
h-&gt;<a href="qboxlayout.html#addSpacing">addSpacing</a>( 100 );
h-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( new <a href="ntqlabel.html">TQLabel</a>( "Rows:", this ) );
rows = new <a href="ntqspinbox.html">TQSpinBox</a>( this );
-<a name="x1442"></a> rows-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+<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 );
@@ -227,32 +227,32 @@ ListBoxDemo::~ListBoxDemo()
void <a name="f442"></a>ListBoxDemo::setNumRows()
{
- columns-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
- rows-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE );
+ 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>() );
}
void <a name="f443"></a>ListBoxDemo::setNumCols()
{
- columns-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE );
- rows-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ 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>() );
}
void <a name="f444"></a>ListBoxDemo::setRowsByHeight()
{
- columns-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
- rows-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ columns-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ rows-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
l-&gt;<a href="ntqlistbox.html#setRowMode">setRowMode</a>( TQListBox::FitToHeight );
}
void <a name="f445"></a>ListBoxDemo::setColsByWidth()
{
- columns-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
- rows-&gt;<a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ columns-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
+ rows-&gt;<a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE );
l-&gt;<a href="ntqlistbox.html#setColumnMode">setColumnMode</a>( TQListBox::FitToWidth );
}
@@ -305,9 +305,9 @@ int main( int argc, char **argv )
<a href="ntqapplication.html">TQApplication</a> a( argc, argv );
ListBoxDemo t;
- t.<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Listbox" );
+ t.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Listbox" );
a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;t );
- t.<a href="ntqwidget.html#show">show</a>();
+ t.<a href="tqwidget.html#show">show</a>();
return a.<a href="ntqapplication.html#exec">exec</a>();
}