diff options
Diffstat (limited to 'doc/html/richtext-example.html')
-rw-r--r-- | doc/html/richtext-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/richtext-example.html b/doc/html/richtext-example.html index e08cad70b..b14bf17bb 100644 --- a/doc/html/richtext-example.html +++ b/doc/html/richtext-example.html @@ -61,7 +61,7 @@ class MyRichText : public <a href="ntqvbox.html">TQVBox</a> <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - MyRichText( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); + MyRichText( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); protected: <a href="ntqtextview.html">TQTextView</a> *view; @@ -156,7 +156,7 @@ static const char* sayings[] = { }; -<a name="f255"></a>MyRichText::MyRichText( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<a name="f255"></a>MyRichText::MyRichText( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqvbox.html">TQVBox</a>( parent, name ) { <a href="ntqframe.html#setMargin">setMargin</a>( 5 ); @@ -171,7 +171,7 @@ static const char* sayings[] = { view-><a href="ntqtextedit.html#setPaper">setPaper</a>( white ); view-><a href="ntqtextedit.html#setText">setText</a>( sayings[0] ); -<a name="x467"></a> view-><a href="ntqwidget.html#setMinimumSize">setMinimumSize</a>( 450, 250 ); +<a name="x467"></a> view-><a href="tqwidget.html#setMinimumSize">setMinimumSize</a>( 450, 250 ); <a href="ntqhbox.html">TQHBox</a> *buttons = new <a href="ntqhbox.html">TQHBox</a>( this ); buttons-><a href="ntqframe.html#setMargin">setMargin</a>( 5 ); @@ -180,7 +180,7 @@ static const char* sayings[] = { bPrev = new <a href="ntqpushbutton.html">TQPushButton</a>( "<< &Prev", buttons ); bNext = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Next >>", buttons ); -<a name="x466"></a> bPrev-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); +<a name="x466"></a> bPrev-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); <a name="x462"></a> <a href="tqobject.html#connect">connect</a>( bClose, 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>( bPrev, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( prev() ) ); @@ -199,9 +199,9 @@ void <a name="f256"></a>MyRichText::prev() view-><a href="ntqtextedit.html#setText">setText</a>( sayings[num] ); if ( num == 0 ) - bPrev-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + bPrev-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); - bNext-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + bNext-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); } void <a name="f257"></a>MyRichText::next() @@ -212,9 +212,9 @@ void <a name="f257"></a>MyRichText::next() view-><a href="ntqtextedit.html#setText">setText</a>( sayings[num] ); if ( !sayings[num + 1] ) - bNext-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + bNext-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); - bPrev-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + bPrev-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); } @@ -243,10 +243,10 @@ int main( int argc, char **argv ) <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); MyRichText richtext; - richtext.<a href="ntqwidget.html#resize">resize</a>( 450, 350 ); - richtext.<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Richtext" ); + richtext.<a href="tqwidget.html#resize">resize</a>( 450, 350 ); + richtext.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Richtext" ); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &richtext ); - richtext.<a href="ntqwidget.html#show">show</a>(); + richtext.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } |