diff options
Diffstat (limited to 'doc/html/listbox-example.html')
-rw-r--r-- | doc/html/listbox-example.html | 30 |
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 <<a href="qwidget-h.html">ntqwidget.h</a>> +#include <<a href="tqwidget-h.html">tqwidget.h</a>> -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-><a href="qgridlayout.html#addWidget">addWidget</a>( l, 1, 1 ); -<a name="x1447"></a> l-><a href="ntqwidget.html#setFocusPolicy">setFocusPolicy</a>( TQWidget::StrongFocus ); +<a name="x1447"></a> l-><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-><a href="qgridlayout.html#addLayout">addLayout</a>( v, 1, 0 ); @@ -167,7 +167,7 @@ private: h-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 100 ); h-><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-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); +<a name="x1442"></a> rows-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); h-><a href="qboxlayout.html#addWidget">addWidget</a>( rows ); v-><a href="qboxlayout.html#addSpacing">addSpacing</a>( 12 ); @@ -227,32 +227,32 @@ ListBoxDemo::~ListBoxDemo() void <a name="f442"></a>ListBoxDemo::setNumRows() { - columns-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - rows-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + columns-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); + rows-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); <a name="x1444"></a><a name="x1435"></a> l-><a href="ntqlistbox.html#setRowMode">setRowMode</a>( rows-><a href="ntqspinbox.html#value">value</a>() ); } void <a name="f443"></a>ListBoxDemo::setNumCols() { - columns-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); - rows-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + columns-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); + rows-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); <a name="x1434"></a> l-><a href="ntqlistbox.html#setColumnMode">setColumnMode</a>( columns-><a href="ntqspinbox.html#value">value</a>() ); } void <a name="f444"></a>ListBoxDemo::setRowsByHeight() { - columns-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - rows-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + columns-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); + rows-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); l-><a href="ntqlistbox.html#setRowMode">setRowMode</a>( TQListBox::FitToHeight ); } void <a name="f445"></a>ListBoxDemo::setColsByWidth() { - columns-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - rows-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + columns-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); + rows-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); l-><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>( &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>(); } |