diff options
Diffstat (limited to 'doc/html/scrollview-example.html')
-rw-r--r-- | doc/html/scrollview-example.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 41788d0fa..40bbb06f9 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -85,9 +85,9 @@ public: <a href="ntqbutton.html">TQButton</a>* q=new <a href="ntqpushbutton.html">TQPushButton</a>("Quit", this); connect(q, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>())); } else { - <a href="ntqstring.html">TQString</a> str; + <a href="tqstring.html">TQString</a> str; if ( b > 0 ) { -<a name="x656"></a> str.<a href="ntqstring.html#sprintf">sprintf</a>("Button %d", b++); +<a name="x656"></a> str.<a href="tqstring.html#sprintf">sprintf</a>("Button %d", b++); } else { str = "I'm shrinking!"; ++b; @@ -156,8 +156,8 @@ public: int cy = childY(dragging); int w = mx - cx + 1; int h = my - cy + 1; - <a href="ntqstring.html">TQString</a> msg; - msg.<a href="ntqstring.html#sprintf">sprintf</a>("at (%d,%d) %d by %d",cx,cy,w,h); + <a href="tqstring.html">TQString</a> msg; + msg.<a href="tqstring.html#sprintf">sprintf</a>("at (%d,%d) %d by %d",cx,cy,w,h); dragging-><a href="ntqtextedit.html#setText">setText</a>(msg); dragging-><a href="tqwidget.html#resize">resize</a>(w,h); } @@ -194,12 +194,12 @@ protected: <a name="x621"></a> int colwidth=fm.<a href="ntqfontmetrics.html#width">width</a>("00000,000000 ")+3; int leftcol=cx/colwidth; int rightcol=(cx+cw+colwidth-1)/colwidth; - <a href="ntqstring.html">TQString</a> str; + <a href="tqstring.html">TQString</a> str; for (int r=toprow; r<=bottomrow; r++) { int py=r*rowheight; for (int c=leftcol; c<=rightcol; c++) { int px=c*colwidth; - str.<a href="ntqstring.html#sprintf">sprintf</a>("%d,%d",c,r); + str.<a href="tqstring.html#sprintf">sprintf</a>("%d,%d",c,r); <a name="x619"></a> p->drawText(px+3, py+fm.<a href="ntqfontmetrics.html#ascent">ascent</a>(), str); } } @@ -208,8 +208,8 @@ protected: if (leftcol<10 && toprow<5) { p->setFont(TQFont("Charter",30)); p->setPen(red); - <a href="ntqstring.html">TQString</a> text; - text.<a href="ntqstring.html#sprintf">sprintf</a>("HINT: Look at %d,%d",215000/colwidth,115000/rowheight); + <a href="tqstring.html">TQString</a> text; + text.<a href="tqstring.html#sprintf">sprintf</a>("HINT: Look at %d,%d",215000/colwidth,115000/rowheight); p->drawText(100,50,text); } } @@ -308,8 +308,8 @@ public: <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( lw_options ); 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); + <a href="tqstring.html">TQString</a> str; + str.<a href="tqstring.html#sprintf">sprintf</a>("%d Pixels", lw); lw_options-><a href="ntqmenudata.html#insertItem">insertItem</a>( str, lw_id | lw ); } f_options-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Line Width", lw_options ); @@ -319,8 +319,8 @@ public: <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mlw_options ); 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); + <a href="tqstring.html">TQString</a> str; + str.<a href="tqstring.html#sprintf">sprintf</a>("%d Pixels", mlw); mlw_options-><a href="ntqmenudata.html#insertItem">insertItem</a>( str, mlw_id | mlw ); } f_options-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Midline Width", mlw_options ); @@ -330,8 +330,8 @@ public: <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( mw_options ); 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); + <a href="tqstring.html">TQString</a> str; + str.<a href="tqstring.html#sprintf">sprintf</a>("%d Pixels", mw); mw_options-><a href="ntqmenudata.html#insertItem">insertItem</a>( str, mw_id | mw ); } f_options-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Margin Width", mw_options ); |