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.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html
index 29b97de49..475290a05 100644
--- a/doc/html/qmag-example.html
+++ b/doc/html/qmag-example.html
@@ -135,12 +135,12 @@ static const int timer[] = {
zoom = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(zoom);
<a name="x1773"></a> zoom-&gt;<a href="ntqcombobox.html#insertStrList">insertStrList</a>( zoomfactors, 9 );
-<a name="x1772"></a> <a href="ntqobject.html#connect">connect</a>( zoom, TQ_SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setZoom(int)) );
+<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)) );
refresh = new <a href="ntqcombobox.html">TQComboBox</a>( FALSE, this );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(refresh);
refresh-&gt;<a href="ntqcombobox.html#insertStrList">insertStrList</a>( refreshrates, 9 );
- <a href="ntqobject.html#connect">connect</a>( refresh, TQ_SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setRefresh(int)) );
+ <a href="tqobject.html#connect">connect</a>( refresh, TQ_SIGNAL(<a href="ntqcombobox.html#activated">activated</a>(int)), TQ_SLOT(setRefresh(int)) );
for( n=0; n&lt;9; n++) {
<a name="x1797"></a> int w2 = zoom-&gt;<a href="ntqwidget.html#fontMetrics">fontMetrics</a>().width( zoomfactors[n] );
@@ -158,7 +158,7 @@ static const int timer[] = {
saveButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(saveButton);
- <a href="ntqobject.html#connect">connect</a>( saveButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(save()) );
+ <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 name="x1788"></a> saveButton-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( x+w+30+2, 2,
10+saveButton-&gt;<a href="ntqwidget.html#fontMetrics">fontMetrics</a>().width("Save"), 20 );
@@ -166,14 +166,14 @@ static const int timer[] = {
multiSaveButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
<a name="x1790"></a> multiSaveButton-&gt;<a href="ntqpushbutton.html#setToggleButton">setToggleButton</a>(TRUE);
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(multiSaveButton);
- <a href="ntqobject.html#connect">connect</a>( multiSaveButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(multiSave()) );
+ <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 name="x1798"></a> multiSaveButton-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( saveButton-&gt;<a href="ntqwidget.html#geometry">geometry</a>().right() + 2, 2,
10+multiSaveButton-&gt;<a href="ntqwidget.html#fontMetrics">fontMetrics</a>().width("MultiSave"), 20 );
quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this );
<a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>(quitButton);
- <a href="ntqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+ <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" );
quitButton-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( multiSaveButton-&gt;<a href="ntqwidget.html#geometry">geometry</a>().right() + 2, 2,
10+quitButton-&gt;<a href="ntqwidget.html#fontMetrics">fontMetrics</a>().width("Quit"), 20 );
@@ -224,21 +224,21 @@ void <a name="f485"></a>MagWidget::setZoom( int index )
void <a name="f486"></a>MagWidget::setRefresh( int index )
{
r = index;
- <a href="ntqobject.html#killTimers">killTimers</a>();
+ <a href="tqobject.html#killTimers">killTimers</a>();
if (index &amp;&amp; !grabbing)
- <a href="ntqobject.html#startTimer">startTimer</a>( timer[r] );
+ <a href="tqobject.html#startTimer">startTimer</a>( timer[r] );
}
void <a name="f487"></a>MagWidget::save()
{
<a name="x1785"></a> if ( !p.<a href="ntqpixmap.html#isNull">isNull</a>() ) {
- <a href="ntqobject.html#killTimers">killTimers</a>();
+ <a href="tqobject.html#killTimers">killTimers</a>();
<a name="x1775"></a> <a href="ntqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>();
<a name="x1792"></a> if ( !fn.<a href="ntqstring.html#isEmpty">isEmpty</a>() )
<a name="x1786"></a> p.<a href="ntqpixmap.html#save">save</a>( fn, "BMP" );
if ( r )
- <a href="ntqobject.html#startTimer">startTimer</a>( timer[r] );
+ <a href="tqobject.html#startTimer">startTimer</a>( timer[r] );
}
}
@@ -308,7 +308,7 @@ void <a name="f489"></a>MagWidget::grab()
{
if ( !grabbing ) { // prepare to grab...
grabbing = TRUE;
- <a href="ntqobject.html#killTimers">killTimers</a>();
+ <a href="tqobject.html#killTimers">killTimers</a>();
<a href="ntqwidget.html#grabMouse">grabMouse</a>( crossCursor );
grabx = -1;
graby = -1;
@@ -360,7 +360,7 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos)
}
grab();
if ( r )
- <a href="ntqobject.html#startTimer">startTimer</a>( timer[r] );
+ <a href="tqobject.html#startTimer">startTimer</a>( timer[r] );
}
@@ -396,7 +396,7 @@ void <a name="f490"></a>MagWidget::grabAround(TQPoint pos)
}
-<a name="x1781"></a>void MagWidget::<a href="ntqobject.html#timerEvent">timerEvent</a>( <a href="qtimerevent.html">TQTimerEvent</a> * )
+<a name="x1781"></a>void MagWidget::<a href="tqobject.html#timerEvent">timerEvent</a>( <a href="qtimerevent.html">TQTimerEvent</a> * )
{
grab();
/*