diff options
Diffstat (limited to 'doc/html/xform-example.html')
-rw-r--r-- | doc/html/xform-example.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/xform-example.html b/doc/html/xform-example.html index 306d8547f..14103d998 100644 --- a/doc/html/xform-example.html +++ b/doc/html/xform-example.html @@ -184,33 +184,33 @@ private: <a name="x1250"></a> rotS-><a href="ntqrangecontrol.html#setRange">setRange</a>( -180, 180 ); <a name="x1261"></a> rotS-><a href="ntqslider.html#setValue">setValue</a>( 0 ); -<a name="x1263"></a> <a href="ntqobject.html#connect">connect</a>( rotS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SLOT(newMtx()) ); +<a name="x1263"></a> <a href="tqobject.html#connect">connect</a>( rotS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SLOT(newMtx()) ); shearLCD-><a href="ntqlcdnumber.html#display">display</a>( "0.00" ); shearS-><a href="ntqrangecontrol.html#setRange">setRange</a>( -25, 25 ); shearS-><a href="ntqslider.html#setValue">setValue</a>( 0 ); - <a href="ntqobject.html#connect">connect</a>( shearS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SLOT(newMtx()) ); + <a href="tqobject.html#connect">connect</a>( shearS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SLOT(newMtx()) ); -<a name="x1220"></a> mirror-><a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Mirror") ); - <a href="ntqobject.html#connect">connect</a>( mirror, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(newMtx()) ); +<a name="x1220"></a> mirror-><a href="ntqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Mirror") ); + <a href="tqobject.html#connect">connect</a>( mirror, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(newMtx()) ); <a href="ntqbuttongroup.html">TQButtonGroup</a> *bg = new <a href="ntqbuttongroup.html">TQButtonGroup</a>(this); <a name="x1267"></a> bg-><a href="ntqwidget.html#hide">hide</a>(); <a name="x1222"></a> bg-><a href="ntqbuttongroup.html#insert">insert</a>(rb_txt,0); bg-><a href="ntqbuttongroup.html#insert">insert</a>(rb_img,1); bg-><a href="ntqbuttongroup.html#insert">insert</a>(rb_pic,2); - rb_txt-><a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Text") ); - rb_img-><a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Image") ); + rb_txt-><a href="ntqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Text") ); + rb_img-><a href="ntqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Image") ); <a name="x1249"></a> rb_img-><a href="ntqradiobutton.html#setChecked">setChecked</a>(TRUE); - rb_pic-><a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Picture") ); -<a name="x1221"></a> <a href="ntqobject.html#connect">connect</a>( bg, TQ_SIGNAL(<a href="ntqbuttongroup.html#clicked">clicked</a>(int)), TQ_SLOT(changeMode(int)) ); + rb_pic-><a href="ntqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Picture") ); +<a name="x1221"></a> <a href="tqobject.html#connect">connect</a>( bg, TQ_SIGNAL(<a href="ntqbuttongroup.html#clicked">clicked</a>(int)), TQ_SLOT(changeMode(int)) ); - fpb-><a href="ntqbutton.html#setText">setText</a>( <a href="ntqobject.html#tr">tr</a>("Select font...") ); - <a href="ntqobject.html#connect">connect</a>( fpb, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), TQ_SLOT(selectFont()) ); + fpb-><a href="ntqbutton.html#setText">setText</a>( <a href="tqobject.html#tr">tr</a>("Select font...") ); + <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="ntqobject.html#connect">connect</a>( textEd, TQ_SIGNAL(<a href="ntqlineedit.html#textChanged">textChanged</a>(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="ntqstring.html">TQString</a>&)), TQ_SLOT(newTxt(const <a href="ntqstring.html">TQString</a>&)) ); magLCD = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 4,optionals_other, "magLCD" ); @@ -218,24 +218,24 @@ private: magS = new <a href="ntqslider.html">TQSlider</a>( TQSlider::Horizontal, optionals_other, "magnifySlider" ); magS-><a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 800 ); - <a href="ntqobject.html#connect">connect</a>( magS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SLOT(newMtx()) ); + <a href="tqobject.html#connect">connect</a>( magS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), TQ_SLOT(newMtx()) ); magS-><a href="ntqslider.html#setValue">setValue</a>( 0 ); - <a href="ntqobject.html#connect">connect</a>( magS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), magLCD, TQ_SLOT(<a href="ntqlcdnumber.html#display">display</a>(int))); + <a href="tqobject.html#connect">connect</a>( magS, TQ_SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), magLCD, TQ_SLOT(<a href="ntqlcdnumber.html#display">display</a>(int))); <a name="x1266"></a> optionals_text-><a href="ntqwidget.html#adjustSize">adjustSize</a>(); optionals_other-><a href="ntqwidget.html#adjustSize">adjustSize</a>(); changeMode(Image); - <a href="ntqobject.html#startTimer">startTimer</a>(20); // start an initial animation + <a href="tqobject.html#startTimer">startTimer</a>(20); // start an initial animation } -<a name="x1232"></a>void XFormControl::<a href="ntqobject.html#timerEvent">timerEvent</a>(TQTimerEvent*) +<a name="x1232"></a>void XFormControl::<a href="tqobject.html#timerEvent">timerEvent</a>(TQTimerEvent*) { <a name="x1262"></a> int v = magS-><a href="ntqslider.html#value">value</a>(); v = (v+2)+v/10; if ( v >= 200 ) { v = 200; - <a href="ntqobject.html#killTimers">killTimers</a>(); + <a href="tqobject.html#killTimers">killTimers</a>(); } magS-><a href="ntqslider.html#setValue">setValue</a>(v); } @@ -519,13 +519,13 @@ 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="ntqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newText(const <a href="ntqstring.html">TQString</a>&)), sx, + <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="ntqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newMatrix(TQWMatrix)), + <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newMatrix(TQWMatrix)), sx, TQ_SLOT(setMatrix(TQWMatrix)) ); - <a href="ntqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newFont(const <a href="ntqfont.html">TQFont</a>&)), sx, + <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newFont(const <a href="ntqfont.html">TQFont</a>&)), sx, TQ_SLOT(<a href="ntqwidget.html#setFont">setFont</a>(const <a href="ntqfont.html">TQFont</a>&)) ); - <a href="ntqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newMode(int)), TQ_SLOT(newMode(int)) ); + <a href="tqobject.html#connect">connect</a>( xc, TQ_SIGNAL(newMode(int)), TQ_SLOT(newMode(int)) ); sx->setText( "Troll" ); newMode( Image ); sx->setMatrix(xc->matrix()); |