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 a9d8d4a43..60802ccc2 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -250,7 +250,7 @@ public: vp_options = new <a href="tqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( vp_options ); -<a name="x644"></a> vp_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); +<a name="x644"></a> vp_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( true ); menubar-><a href="tqmenudata.html#insertItem">insertItem</a>( "&ScrollView", vp_options ); <a name="x642"></a> connect( vp_options, TQ_SIGNAL(<a href="tqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(doVPMenuItem(int)) ); @@ -269,13 +269,13 @@ public: vp = new <a href="tqscrollview.html">TQScrollView</a>(this); <a name="x655"></a> BigShrinker *bs = new BigShrinker(0);//(vp-><a href="tqscrollview.html#viewport">viewport</a>()); <a name="x645"></a> vp-><a href="tqscrollview.html#addChild">addChild</a>(bs); -<a name="x659"></a> bs-><a href="tqwidget.html#setAcceptDrops">setAcceptDrops</a>(TRUE); +<a name="x659"></a> bs-><a href="tqwidget.html#setAcceptDrops">setAcceptDrops</a>(true); TQObject::<a href="tqobject.html#connect">connect</a>(bs, TQ_SIGNAL(clicked(int,int)), <a name="x646"></a> vp, TQ_SLOT(<a href="tqscrollview.html#center">center</a>(int,int))); } else { vp = new BigMatrix(this); if ( technique == 3 ) -<a name="x648"></a> vp-><a href="tqscrollview.html#enableClipper">enableClipper</a>(TRUE); +<a name="x648"></a> vp-><a href="tqscrollview.html#enableClipper">enableClipper</a>(true); srand(1); for (int i=0; i<30; i++) { <a href="tqmultilineedit.html">TQMultiLineEdit</a> *l = new <a href="tqmultilineedit.html">TQMultiLineEdit</a>(vp-><a href="tqscrollview.html#viewport">viewport</a>(),"First"); @@ -288,7 +288,7 @@ public: f_options = new <a href="tqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( f_options ); - f_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + f_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( true ); menubar-><a href="tqmenudata.html#insertItem">insertItem</a>( "F&rame", f_options ); connect( f_options, TQ_SIGNAL(<a href="tqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(doFMenuItem(int)) ); @@ -305,7 +305,7 @@ public: f_options-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); lw_options = new <a href="tqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( lw_options ); - lw_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + lw_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( true ); for (int lw = 1; lw <= max_lw; lw++) { <a href="tqstring.html">TQString</a> str; str.<a href="tqstring.html#sprintf">sprintf</a>("%d Pixels", lw); @@ -316,7 +316,7 @@ public: this, TQ_SLOT(doFMenuItem(int)) ); mlw_options = new <a href="tqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mlw_options ); - mlw_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + mlw_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( true ); for (int mlw = 0; mlw <= max_mlw; mlw++) { <a href="tqstring.html">TQString</a> str; str.<a href="tqstring.html#sprintf">sprintf</a>("%d Pixels", mlw); @@ -327,7 +327,7 @@ public: this, TQ_SLOT(doFMenuItem(int)) ); mw_options = new <a href="tqpopupmenu.html">TQPopupMenu</a>( menubar ); <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mw_options ); - mw_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + mw_options-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( true ); for (int mw = 0; mw <= max_mw; mw++) { <a href="tqstring.html">TQString</a> str; str.<a href="tqstring.html#sprintf">sprintf</a>("%d Pixels", mw); |