diff options
Diffstat (limited to 'doc/html/t9-main-cpp.html')
-rw-r--r-- | doc/html/t9-main-cpp.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/t9-main-cpp.html b/doc/html/t9-main-cpp.html index 6ecb07511..8cc241ff0 100644 --- a/doc/html/t9-main-cpp.html +++ b/doc/html/t9-main-cpp.html @@ -38,39 +38,39 @@ body { background: #ffffff; color: black; } ** ****************************************************************/ -#include <<a href="qapplication-h.html">qapplication.h</a>> -#include <<a href="qpushbutton-h.html">qpushbutton.h</a>> -#include <<a href="qlcdnumber-h.html">qlcdnumber.h</a>> -#include <<a href="qfont-h.html">qfont.h</a>> -#include <<a href="qlayout-h.html">qlayout.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> +#include <<a href="qlcdnumber-h.html">ntqlcdnumber.h</a>> +#include <<a href="qfont-h.html">ntqfont.h</a>> +#include <<a href="qlayout-h.html">ntqlayout.h</a>> #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="f43"></a>MyWidget::MyWidget( <a href="qwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="qwidget.html">TQWidget</a>( parent, name ) +<a name="f43"></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>( "&Quit", this, "quit" ); - quit-><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>( "&Quit", this, "quit" ); + quit-><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( this, "angle" ); angle->setRange( 5, 70 ); 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="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 ); @@ -80,19 +80,19 @@ public: grid-><a href="qgridlayout.html#setColStretch">setColStretch</a>( 1, 10 ); angle->setValue( 60 ); - angle-><a href="qwidget.html#setFocus">setFocus</a>(); + angle-><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>( &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>( &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> |