diff options
Diffstat (limited to 'doc/html/popup-example.html')
-rw-r--r-- | doc/html/popup-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/popup-example.html b/doc/html/popup-example.html index 0a676a704..c4ff23345 100644 --- a/doc/html/popup-example.html +++ b/doc/html/popup-example.html @@ -75,7 +75,7 @@ private: }; - class Frame : public <a href="ntqframe.html">TQFrame</a> + class Frame : public <a href="tqframe.html">TQFrame</a> { TQ_OBJECT public: @@ -91,7 +91,7 @@ private: <a href="tqpushbutton.html">TQPushButton</a> *button1; <a href="tqpushbutton.html">TQPushButton</a> *button2; - <a href="ntqframe.html">TQFrame</a>* popup1; + <a href="tqframe.html">TQFrame</a>* popup1; FancyPopup* popup2; }; @@ -116,7 +116,7 @@ private: <a name="f468"></a>FancyPopup::FancyPopup( <a href="tqwidget.html">TQWidget</a>* parent, const char* name ): <a href="tqlabel.html">TQLabel</a>( parent, name, WType_Popup ){ - <a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( WinPanel|Raised ); + <a href="tqframe.html#setFrameStyle">setFrameStyle</a>( WinPanel|Raised ); <a href="tqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); <a href="tqwidget.html#resize">resize</a>(150,100); moves = 0; @@ -165,11 +165,11 @@ void <a name="f469"></a>FancyPopup::popup( <a href="tqwidget.html">TQWidget</a>* -<a name="f470"></a>Frame::Frame(TQWidget* parent, const char* name): <a href="ntqframe.html">TQFrame</a>(parent, name){ +<a name="f470"></a>Frame::Frame(TQWidget* parent, const char* name): <a href="tqframe.html">TQFrame</a>(parent, name){ button1 = new <a href="tqpushbutton.html">TQPushButton</a>("Simple Popup", this); - <a href="tqobject.html#connect">connect</a> ( button1, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), TQ_SLOT( button1Clicked() ) ); + <a href="tqobject.html#connect">connect</a> ( button1, TQ_SIGNAL( <a href="tqbutton.html#clicked">clicked</a>() ), TQ_SLOT( button1Clicked() ) ); button2 = new <a href="tqpushbutton.html">TQPushButton</a>("Fancy Popup", this); -<a name="x1606"></a> <a href="tqobject.html#connect">connect</a> ( button2, TQ_SIGNAL( <a href="ntqbutton.html#pressed">pressed</a>() ), TQ_SLOT( button2Pressed() ) ); +<a name="x1606"></a> <a href="tqobject.html#connect">connect</a> ( button2, TQ_SIGNAL( <a href="tqbutton.html#pressed">pressed</a>() ), TQ_SLOT( button2Pressed() ) ); <a href="qboxlayout.html">TQBoxLayout</a> * l = new <a href="qhboxlayout.html">TQHBoxLayout</a>( this ); <a name="x1627"></a><a name="x1614"></a> button1-><a href="tqwidget.html#setMaximumSize">setMaximumSize</a>(button1-><a href="tqwidget.html#sizeHint">sizeHint</a>()); @@ -185,15 +185,15 @@ void <a name="f469"></a>FancyPopup::popup( <a href="tqwidget.html">TQWidget</a>* //create a very simple popup: it is just composed with other //widget and will be shown after clicking on button1 - popup1 = new <a href="ntqframe.html">TQFrame</a>( this ,0, WType_Popup); - popup1-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( WinPanel|Raised ); + popup1 = new <a href="tqframe.html">TQFrame</a>( this ,0, WType_Popup); + popup1-><a href="tqframe.html#setFrameStyle">setFrameStyle</a>( WinPanel|Raised ); popup1-><a href="tqwidget.html#resize">resize</a>(150,100); <a href="tqlineedit.html">TQLineEdit</a> *tmpE = new <a href="tqlineedit.html">TQLineEdit</a>( popup1 ); <a name="x1619"></a><a name="x1610"></a> <a href="tqobject.html#connect">connect</a>( tmpE, TQ_SIGNAL( <a href="tqlineedit.html#returnPressed">returnPressed</a>() ), popup1, TQ_SLOT( <a href="tqwidget.html#hide">hide</a>() ) ); <a name="x1626"></a> tmpE-><a href="tqwidget.html#setGeometry">setGeometry</a>(10,10, 130, 30); <a name="x1625"></a> tmpE-><a href="tqwidget.html#setFocus">setFocus</a>(); <a href="tqpushbutton.html">TQPushButton</a> *tmpB = new <a href="tqpushbutton.html">TQPushButton</a>("Click me!", popup1); -<a name="x1616"></a> <a href="tqobject.html#connect">connect</a>( tmpB, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), popup1, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ) ); +<a name="x1616"></a> <a href="tqobject.html#connect">connect</a>( tmpB, TQ_SIGNAL( <a href="tqbutton.html#clicked">clicked</a>() ), popup1, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ) ); tmpB-><a href="tqwidget.html#setGeometry">setGeometry</a>(10, 50, 130, 30); // the fancier version uses its own class. It will be shown when |