summaryrefslogtreecommitdiffstats
path: root/doc/html/t12-main-cpp.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/t12-main-cpp.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/t12-main-cpp.html')
-rw-r--r--doc/html/t12-main-cpp.html52
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/t12-main-cpp.html b/doc/html/t12-main-cpp.html
index e20f3dd09..ab8667db6 100644
--- a/doc/html/t12-main-cpp.html
+++ b/doc/html/t12-main-cpp.html
@@ -38,30 +38,30 @@ body { background: #ffffff; color: black; }
**
****************************************************************/
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">qpushbutton.h</a>&gt;
-#include &lt;<a href="qlcdnumber-h.html">qlcdnumber.h</a>&gt;
-#include &lt;<a href="qfont-h.html">qfont.h</a>&gt;
-#include &lt;<a href="qlayout-h.html">qlayout.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
+#include &lt;<a href="qlcdnumber-h.html">ntqlcdnumber.h</a>&gt;
+#include &lt;<a href="qfont-h.html">ntqfont.h</a>&gt;
+#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
#include "lcdrange.h"
#include "cannon.h"
-class MyWidget: public <a href="qwidget.html">TQWidget</a>
+class MyWidget: public <a href="ntqwidget.html">TQWidget</a>
{
public:
- MyWidget( <a href="qwidget.html">TQWidget</a> *parent=0, const char *name=0 );
+ MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
};
-<a name="f86"></a>MyWidget::MyWidget( <a href="qwidget.html">TQWidget</a> *parent, const char *name )
- : <a href="qwidget.html">TQWidget</a>( parent, name )
+<a name="f86"></a>MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name )
+ : <a href="ntqwidget.html">TQWidget</a>( parent, name )
{
- <a href="qpushbutton.html">TQPushButton</a> *quit = new <a href="qpushbutton.html">TQPushButton</a>( "&amp;Quit", this, "quit" );
- quit-&gt;<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Quit", this, "quit" );
+ quit-&gt;<a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
- <a href="qobject.html#connect">connect</a>( quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#quit">quit</a>()) );
+ <a href="ntqobject.html#connect">connect</a>( quit, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
LCDRange *angle = new LCDRange( "ANGLE", this, "angle" );
angle-&gt;setRange( 5, 70 );
@@ -71,20 +71,20 @@ public:
CannonField *cannonField = new CannonField( this, "cannonField" );
- <a href="qobject.html#connect">connect</a>( angle, SIGNAL(valueChanged(int)),
+ <a href="ntqobject.html#connect">connect</a>( angle, SIGNAL(valueChanged(int)),
cannonField, SLOT(setAngle(int)) );
- <a href="qobject.html#connect">connect</a>( cannonField, SIGNAL(angleChanged(int)),
+ <a href="ntqobject.html#connect">connect</a>( cannonField, SIGNAL(angleChanged(int)),
angle, SLOT(setValue(int)) );
- <a href="qobject.html#connect">connect</a>( force, SIGNAL(valueChanged(int)),
+ <a href="ntqobject.html#connect">connect</a>( force, SIGNAL(valueChanged(int)),
cannonField, SLOT(setForce(int)) );
- <a href="qobject.html#connect">connect</a>( cannonField, SIGNAL(forceChanged(int)),
+ <a href="ntqobject.html#connect">connect</a>( cannonField, SIGNAL(forceChanged(int)),
force, SLOT(setValue(int)) );
- <a href="qpushbutton.html">TQPushButton</a> *shoot = new <a href="qpushbutton.html">TQPushButton</a>( "&amp;Shoot", this, "shoot" );
- shoot-&gt;<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ <a href="ntqpushbutton.html">TQPushButton</a> *shoot = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Shoot", this, "shoot" );
+ shoot-&gt;<a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
- <a href="qobject.html#connect">connect</a>( shoot, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), cannonField, SLOT(shoot()) );
+ <a href="ntqobject.html#connect">connect</a>( shoot, SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), cannonField, SLOT(shoot()) );
<a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 );
@@ -103,19 +103,19 @@ public:
angle-&gt;setValue( 60 );
force-&gt;setValue( 25 );
- angle-&gt;<a href="qwidget.html#setFocus">setFocus</a>();
+ angle-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
}
int main( int argc, char **argv )
{
- TQApplication::<a href="qapplication.html#setColorSpec">setColorSpec</a>( TQApplication::CustomColor );
- <a href="qapplication.html">TQApplication</a> a( argc, argv );
+ TQApplication::<a href="ntqapplication.html#setColorSpec">setColorSpec</a>( TQApplication::CustomColor );
+ <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
MyWidget w;
- w.<a href="qwidget.html#setGeometry">setGeometry</a>( 100, 100, 500, 355 );
- a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;w );
- w.<a href="qwidget.html#show">show</a>();
- return a.<a href="qapplication.html#exec">exec</a>();
+ w.<a href="ntqwidget.html#setGeometry">setGeometry</a>( 100, 100, 500, 355 );
+ a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;w );
+ w.<a href="ntqwidget.html#show">show</a>();
+ return a.<a href="ntqapplication.html#exec">exec</a>();
}
</pre><!-- eof -->
<p><address><hr><div align=center>