diff options
Diffstat (limited to 'doc/html/scrollview-example.html')
| -rw-r--r-- | doc/html/scrollview-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index c100228e5..04e78b663 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -251,7 +251,7 @@ public: vp_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( vp_options ); -<a name="x644"></a> vp_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); +<a name="x644"></a> vp_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( true ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&ScrollView", vp_options ); <a name="x642"></a> connect( vp_options, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(doVPMenuItem(int)) ); @@ -270,13 +270,13 @@ public: vp = new <a href="ntqscrollview.html">TQScrollView</a>(this); <a name="x655"></a> BigShrinker *bs = new BigShrinker(0);//(vp-><a href="ntqscrollview.html#viewport">viewport</a>()); <a name="x645"></a> vp-><a href="ntqscrollview.html#addChild">addChild</a>(bs); -<a name="x659"></a> bs-><a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>(TRUE); +<a name="x659"></a> bs-><a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>(true); TQObject::<a href="ntqobject.html#connect">connect</a>(bs, TQ_SIGNAL(clicked(int,int)), <a name="x646"></a> vp, TQ_SLOT(<a href="ntqscrollview.html#center">center</a>(int,int))); } else { vp = new BigMatrix(this); if ( technique == 3 ) -<a name="x648"></a> vp-><a href="ntqscrollview.html#enableClipper">enableClipper</a>(TRUE); +<a name="x648"></a> vp-><a href="ntqscrollview.html#enableClipper">enableClipper</a>(true); srand(1); for (int i=0; i<30; i++) { <a href="ntqmultilineedit.html">TQMultiLineEdit</a> *l = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>(vp-><a href="ntqscrollview.html#viewport">viewport</a>(),"First"); @@ -289,7 +289,7 @@ public: f_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( f_options ); - f_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + f_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( true ); menubar-><a href="ntqmenudata.html#insertItem">insertItem</a>( "F&rame", f_options ); connect( f_options, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(doFMenuItem(int)) ); @@ -306,7 +306,7 @@ public: f_options-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); lw_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( lw_options ); - lw_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + lw_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( true ); for (int lw = 1; lw <= max_lw; lw++) { <a href="ntqstring.html">TQString</a> str; str.<a href="ntqstring.html#sprintf">sprintf</a>("%d Pixels", lw); @@ -317,7 +317,7 @@ public: this, TQ_SLOT(doFMenuItem(int)) ); mlw_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mlw_options ); - mlw_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + mlw_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( true ); for (int mlw = 0; mlw <= max_mlw; mlw++) { <a href="ntqstring.html">TQString</a> str; str.<a href="ntqstring.html#sprintf">sprintf</a>("%d Pixels", mlw); @@ -328,7 +328,7 @@ public: this, TQ_SLOT(doFMenuItem(int)) ); mw_options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mw_options ); - mw_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + mw_options-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( true ); for (int mw = 0; mw <= max_mw; mw++) { <a href="ntqstring.html">TQString</a> str; str.<a href="ntqstring.html#sprintf">sprintf</a>("%d Pixels", mw); |
