diff options
Diffstat (limited to 'doc/html/qmag-example.html')
| -rw-r--r-- | doc/html/qmag-example.html | 40 | 
1 files changed, 20 insertions, 20 deletions
| diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index 3e8f4f0ba..bdaed4f16 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -52,8 +52,8 @@ magnified area as a .bmp file.  **  *****************************************************************************/ -#include <<a href="qcombobox-h.html">ntqcombobox.h</a>> -#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> +#include <<a href="tqcombobox-h.html">tqcombobox.h</a>> +#include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>>  #include <<a href="tqpixmap-h.html">tqpixmap.h</a>>  #include <<a href="tqimage-h.html">tqimage.h</a>>  #include <<a href="tqlabel-h.html">tqlabel.h</a>> @@ -90,11 +90,11 @@ private:      void        grabAround(TQPoint pos);      void        grab(); -    <a href="ntqcombobox.html">TQComboBox</a>   *zoom; -    <a href="ntqcombobox.html">TQComboBox</a>   *refresh; -    <a href="ntqpushbutton.html">TQPushButton</a> *saveButton; -    <a href="ntqpushbutton.html">TQPushButton</a> *multiSaveButton; -    <a href="ntqpushbutton.html">TQPushButton</a> *quitButton; +    <a href="tqcombobox.html">TQComboBox</a>   *zoom; +    <a href="tqcombobox.html">TQComboBox</a>   *refresh; +    <a href="tqpushbutton.html">TQPushButton</a> *saveButton; +    <a href="tqpushbutton.html">TQPushButton</a> *multiSaveButton; +    <a href="tqpushbutton.html">TQPushButton</a> *quitButton;      <a href="tqpixmap.html">TQPixmap</a>     pm;             // pixmap, magnified      <a href="tqpixmap.html">TQPixmap</a>     p;              // pixmap      <a href="tqimage.html">TQImage</a>      image;          // image of pixmap (for RGB) @@ -132,15 +132,15 @@ static const int timer[] = {  #ifdef COMPLEX_GUI      int w=0, x=0, n; -    zoom = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this ); +    zoom = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this );      <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(zoom); -<a name="x1773"></a>    zoom-><a href="ntqcombobox.html#insertStrList">insertStrList</a>( zoomfactors, 9 ); -<a name="x1772"></a>    <a href="tqobject.html#connect">connect</a>( zoom, TQ_SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setZoom(int)) ); +<a name="x1773"></a>    zoom-><a href="tqcombobox.html#insertStrList">insertStrList</a>( zoomfactors, 9 ); +<a name="x1772"></a>    <a href="tqobject.html#connect">connect</a>( zoom, TQ_SIGNAL(<a href="tqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setZoom(int)) ); -    refresh = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this ); +    refresh = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this );      <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(refresh); -    refresh-><a href="ntqcombobox.html#insertStrList">insertStrList</a>( refreshrates, 9 ); -    <a href="tqobject.html#connect">connect</a>( refresh, TQ_SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setRefresh(int)) ); +    refresh-><a href="tqcombobox.html#insertStrList">insertStrList</a>( refreshrates, 9 ); +    <a href="tqobject.html#connect">connect</a>( refresh, TQ_SIGNAL(<a href="tqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setRefresh(int)) );      for( n=0; n<9; n++) {  <a name="x1797"></a>        int w2 = zoom-><a href="tqwidget.html#fontMetrics">fontMetrics</a>().width( zoomfactors[n] ); @@ -156,22 +156,22 @@ static const int timer[] = {      }      refresh-><a href="tqwidget.html#setGeometry">setGeometry</a>( x, 2, w+30, 20 ); -    saveButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this ); +    saveButton = new <a href="tqpushbutton.html">TQPushButton</a>( this );      <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(saveButton);      <a href="tqobject.html#connect">connect</a>( saveButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(save()) );  <a name="x1771"></a>    saveButton-><a href="ntqbutton.html#setText">setText</a>( "Save" );  <a name="x1788"></a>    saveButton-><a href="tqwidget.html#setGeometry">setGeometry</a>( x+w+30+2, 2,                               10+saveButton-><a href="tqwidget.html#fontMetrics">fontMetrics</a>().width("Save"), 20 ); -    multiSaveButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this ); -<a name="x1790"></a>    multiSaveButton-><a href="ntqpushbutton.html#setToggleButton">setToggleButton</a>(TRUE); +    multiSaveButton = new <a href="tqpushbutton.html">TQPushButton</a>( this ); +<a name="x1790"></a>    multiSaveButton-><a href="tqpushbutton.html#setToggleButton">setToggleButton</a>(TRUE);      <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(multiSaveButton);      <a href="tqobject.html#connect">connect</a>( multiSaveButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(multiSave()) );      multiSaveButton-><a href="ntqbutton.html#setText">setText</a>( "MultiSave" );  <a name="x1798"></a>    multiSaveButton-><a href="tqwidget.html#setGeometry">setGeometry</a>( saveButton-><a href="tqwidget.html#geometry">geometry</a>().right() + 2, 2,                               10+multiSaveButton-><a href="tqwidget.html#fontMetrics">fontMetrics</a>().width("MultiSave"), 20 ); -    quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this ); +    quitButton = new <a href="tqpushbutton.html">TQPushButton</a>( this );      <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(quitButton);      <a href="tqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );      quitButton-><a href="ntqbutton.html#setText">setText</a>( "Quit" ); @@ -248,11 +248,11 @@ void <a name="f488"></a>MagWidget::multiSave()          multifn = ""; // stops saving          multifn = TQFileDialog::<a href="tqfiledialog.html#getSaveFileName">getSaveFileName</a>();          if ( multifn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) -<a name="x1789"></a>            multiSaveButton-><a href="ntqpushbutton.html#setOn">setOn</a>(FALSE); +<a name="x1789"></a>            multiSaveButton-><a href="tqpushbutton.html#setOn">setOn</a>(FALSE);          if ( !r )              p.<a href="tqpixmap.html#save">save</a>( multifn, "BMP" );      } else { -        multiSaveButton-><a href="ntqpushbutton.html#setOn">setOn</a>(FALSE); +        multiSaveButton-><a href="tqpushbutton.html#setOn">setOn</a>(FALSE);      }  } @@ -351,7 +351,7 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos)          if ( pz > 8 )              pz = 8;          if ( zoom ) -<a name="x1774"></a>            zoom-><a href="ntqcombobox.html#setCurrentItem">setCurrentItem</a>( pz-1 ); +<a name="x1774"></a>            zoom-><a href="tqcombobox.html#setCurrentItem">setCurrentItem</a>( pz-1 );          z = pz;          grabx = TQMIN(rx, grabx) + w/2; | 
