diff options
Diffstat (limited to 'doc/html/t11-main-cpp.html')
-rw-r--r-- | doc/html/t11-main-cpp.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/t11-main-cpp.html b/doc/html/t11-main-cpp.html index 3167ccdb6..f523cdd98 100644 --- a/doc/html/t11-main-cpp.html +++ b/doc/html/t11-main-cpp.html @@ -48,18 +48,18 @@ body { background: #ffffff; color: black; } #include "cannon.h" -class MyWidget: public <a href="ntqwidget.html">TQWidget</a> +class MyWidget: public <a href="tqwidget.html">TQWidget</a> { public: - MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + MyWidget( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); }; -<a name="f66"></a>MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqwidget.html">TQWidget</a>( parent, name ) +<a name="f66"></a>MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) + : <a href="tqwidget.html">TQWidget</a>( parent, name ) { <a href="ntqpushbutton.html">TQPushButton</a> *quit = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Quit", this, "quit" ); - quit-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); + quit-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); <a href="tqobject.html#connect">connect</a>( quit, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); @@ -82,7 +82,7 @@ public: force, TQ_SLOT(setValue(int)) ); <a href="ntqpushbutton.html">TQPushButton</a> *shoot = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Shoot", this, "shoot" ); - shoot-><a href="ntqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); + shoot-><a href="tqwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) ); <a href="tqobject.html#connect">connect</a>( shoot, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), cannonField, TQ_SLOT(shoot()) ); @@ -103,7 +103,7 @@ public: angle->setValue( 60 ); force->setValue( 25 ); - angle-><a href="ntqwidget.html#setFocus">setFocus</a>(); + angle-><a href="tqwidget.html#setFocus">setFocus</a>(); } int main( int argc, char **argv ) @@ -112,9 +112,9 @@ int main( int argc, char **argv ) <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); MyWidget w; - w.<a href="ntqwidget.html#setGeometry">setGeometry</a>( 100, 100, 500, 355 ); + w.<a href="tqwidget.html#setGeometry">setGeometry</a>( 100, 100, 500, 355 ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &w ); - w.<a href="ntqwidget.html#show">show</a>(); + w.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre><!-- eof --> |