summaryrefslogtreecommitdiffstats
path: root/doc/html/qmag-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qmag-example.html')
-rw-r--r--doc/html/qmag-example.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html
index bdaed4f16..9353d8805 100644
--- a/doc/html/qmag-example.html
+++ b/doc/html/qmag-example.html
@@ -158,23 +158,23 @@ static const int timer[] = {
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-&gt;<a href="ntqbutton.html#setText">setText</a>( "Save" );
+ <a href="tqobject.html#connect">connect</a>( saveButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(save()) );
+<a name="x1771"></a> saveButton-&gt;<a href="tqbutton.html#setText">setText</a>( "Save" );
<a name="x1788"></a> saveButton-&gt;<a href="tqwidget.html#setGeometry">setGeometry</a>( x+w+30+2, 2,
10+saveButton-&gt;<a href="tqwidget.html#fontMetrics">fontMetrics</a>().width("Save"), 20 );
multiSaveButton = new <a href="tqpushbutton.html">TQPushButton</a>( this );
<a name="x1790"></a> multiSaveButton-&gt;<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-&gt;<a href="ntqbutton.html#setText">setText</a>( "MultiSave" );
+ <a href="tqobject.html#connect">connect</a>( multiSaveButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(multiSave()) );
+ multiSaveButton-&gt;<a href="tqbutton.html#setText">setText</a>( "MultiSave" );
<a name="x1798"></a> multiSaveButton-&gt;<a href="tqwidget.html#setGeometry">setGeometry</a>( saveButton-&gt;<a href="tqwidget.html#geometry">geometry</a>().right() + 2, 2,
10+multiSaveButton-&gt;<a href="tqwidget.html#fontMetrics">fontMetrics</a>().width("MultiSave"), 20 );
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-&gt;<a href="ntqbutton.html#setText">setText</a>( "Quit" );
+ <a href="tqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+ quitButton-&gt;<a href="tqbutton.html#setText">setText</a>( "Quit" );
quitButton-&gt;<a href="tqwidget.html#setGeometry">setGeometry</a>( multiSaveButton-&gt;<a href="tqwidget.html#geometry">geometry</a>().right() + 2, 2,
10+quitButton-&gt;<a href="tqwidget.html#fontMetrics">fontMetrics</a>().width("Quit"), 20 );
#else
@@ -289,7 +289,7 @@ void <a name="f489"></a>MagWidget::grab()
<a name="x1809"></a> m.<a href="tqwmatrix.html#scale">scale</a>( (double)z, (double)z );
<a name="x1787"></a> pm = p.<a href="tqpixmap.html#xForm">xForm</a>( m );
-<a name="x1770"></a> if ( !multiSaveButton || !multiSaveButton-&gt;<a href="ntqbutton.html#isOn">isOn</a>() )
+<a name="x1770"></a> if ( !multiSaveButton || !multiSaveButton-&gt;<a href="tqbutton.html#isOn">isOn</a>() )
<a href="tqwidget.html#repaint">repaint</a>( FALSE ); // and finally repaint, flicker-free
}
@@ -400,7 +400,7 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos)
{
grab();
/*
- if ( multiSaveButton-&gt;<a href="ntqbutton.html#isOn">isOn</a>() &amp;&amp; !multifn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) {
+ if ( multiSaveButton-&gt;<a href="tqbutton.html#isOn">isOn</a>() &amp;&amp; !multifn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) {
<a href="tqregexp.html">TQRegExp</a> num("[0-9][0-9]*");
int start;
int len;