diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/xform-example.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/xform-example.html')
-rw-r--r-- | doc/html/xform-example.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/xform-example.html b/doc/html/xform-example.html index 8d434753a..50791c67c 100644 --- a/doc/html/xform-example.html +++ b/doc/html/xform-example.html @@ -88,12 +88,12 @@ public: signals: void newMatrix( <a href="ntqwmatrix.html">TQWMatrix</a> ); - void newText( const <a href="ntqstring.html">TQString</a>& ); + void newText( const <a href="tqstring.html">TQString</a>& ); void newFont( const <a href="ntqfont.html">TQFont</a> & ); void newMode( int ); private slots: void newMtx(); - void newTxt(const <a href="ntqstring.html">TQString</a>&); + void newTxt(const <a href="tqstring.html">TQString</a>&); void selectFont(); void fontSelected( const <a href="ntqfont.html">TQFont</a> & ); void changeMode(int); @@ -131,7 +131,7 @@ public: Mode mode() const { return m; } public slots: - void setText( const <a href="ntqstring.html">TQString</a>& ); + void setText( const <a href="tqstring.html">TQString</a>& ); void setMatrix( <a href="ntqwmatrix.html">TQWMatrix</a> ); void setFont( const <a href="ntqfont.html">TQFont</a> &f ); void setPixmap( <a href="ntqpixmap.html">TQPixmap</a> ); @@ -143,7 +143,7 @@ private: void paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * ); void resizeEvent( <a href="qresizeevent.html">TQResizeEvent</a> * ); <a href="ntqwmatrix.html">TQWMatrix</a> mtx; // coordinate transform matrix - <a href="ntqstring.html">TQString</a> text; // text to be displayed + <a href="tqstring.html">TQString</a> text; // text to be displayed <a href="ntqpixmap.html">TQPixmap</a> pix; // pixmap to be displayed <a href="ntqpicture.html">TQPicture</a> picture; // text to be displayed <a href="ntqrect.html">TQRect</a> eraseRect; // covers last displayed text/pixmap @@ -210,8 +210,8 @@ private: <a href="tqobject.html#connect">connect</a>( fpb, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(selectFont()) ); <a name="x1230"></a> textEd-><a href="ntqlineedit.html#setText">setText</a>( "Troll" ); -<a name="x1231"></a> <a href="tqobject.html#connect">connect</a>( textEd, TQ_SIGNAL(<a href="ntqlineedit.html#textChanged">textChanged</a>(const <a href="ntqstring.html">TQString</a>&)), - TQ_SLOT(newTxt(const <a href="ntqstring.html">TQString</a>&)) ); +<a name="x1231"></a> <a href="tqobject.html#connect">connect</a>( textEd, TQ_SIGNAL(<a href="ntqlineedit.html#textChanged">textChanged</a>(const <a href="tqstring.html">TQString</a>&)), + TQ_SLOT(newTxt(const <a href="tqstring.html">TQString</a>&)) ); magLCD = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 4,optionals_other, "magLCD" ); magLCD-><a href="ntqlcdnumber.html#display">display</a>( "100" ); @@ -251,7 +251,7 @@ void <a name="f398"></a>XFormControl::newMtx() emit newMatrix( matrix() ); } -void <a name="f399"></a>XFormControl::newTxt(const <a href="ntqstring.html">TQString</a>& s) +void <a name="f399"></a>XFormControl::newTxt(const <a href="tqstring.html">TQString</a>& s) { emit newText(s); changeMode(Text); @@ -276,16 +276,16 @@ TQWMatrix <a name="f400"></a>XFormControl::matrix() m.<a href="ntqwmatrix.html#rotate">rotate</a>( 180 ); } - <a href="ntqstring.html">TQString</a> tmp; -<a name="x1265"></a> tmp.<a href="ntqstring.html#sprintf">sprintf</a>( "%1.2f", shearVal ); + <a href="tqstring.html">TQString</a> tmp; +<a name="x1265"></a> tmp.<a href="tqstring.html#sprintf">sprintf</a>( "%1.2f", shearVal ); if ( shearVal >= 0 ) -<a name="x1264"></a> tmp.<a href="ntqstring.html#insert">insert</a>( 0, " " ); +<a name="x1264"></a> tmp.<a href="tqstring.html#insert">insert</a>( 0, " " ); shearLCD-><a href="ntqlcdnumber.html#display">display</a>( tmp ); int rot = rotS-><a href="ntqslider.html#value">value</a>(); if ( rot < 0 ) rot = rot + 360; - tmp.<a href="ntqstring.html#sprintf">sprintf</a>( "%3i'", rot ); + tmp.<a href="tqstring.html#sprintf">sprintf</a>( "%3i'", rot ); rotLCD-><a href="ntqlcdnumber.html#display">display</a>( tmp ); return m; } @@ -361,7 +361,7 @@ void ShowXForm::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpai <a href="tqwidget.html#repaint">repaint</a>(<a href="tqwidget.html#rect">rect</a>()); } -void <a name="f389"></a>ShowXForm::setText( const <a href="ntqstring.html">TQString</a>& s ) +void <a name="f389"></a>ShowXForm::setText( const <a href="tqstring.html">TQString</a>& s ) { text = s; showIt(); @@ -519,8 +519,8 @@ void <a name="f395"></a>XFormCenter::newMode( int m ) <a href="ntqhbox.html#setStretchFactor">setStretchFactor</a>(sx,1); xc-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Raised ); <a name="x1227"></a> xc-><a href="ntqframe.html#setLineWidth">setLineWidth</a>( 2 ); - <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newText(const <a href="ntqstring.html">TQString</a>&)), sx, - TQ_SLOT(setText(const <a href="ntqstring.html">TQString</a>&)) ); + <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newText(const <a href="tqstring.html">TQString</a>&)), sx, + TQ_SLOT(setText(const <a href="tqstring.html">TQString</a>&)) ); <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newMatrix(TQWMatrix)), sx, TQ_SLOT(setMatrix(TQWMatrix)) ); <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newFont(const <a href="ntqfont.html">TQFont</a>&)), sx, |