diff options
Diffstat (limited to 'doc/html/popup-example.html')
-rw-r--r-- | doc/html/popup-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/popup-example.html b/doc/html/popup-example.html index 7d7c14d32..0a676a704 100644 --- a/doc/html/popup-example.html +++ b/doc/html/popup-example.html @@ -54,8 +54,8 @@ pop up. #ifndef POPUP_H #define POPUP_H #include <<a href="tqlabel-h.html">tqlabel.h</a>> -#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qlineedit-h.html">ntqlineedit.h</a>> +#include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> +#include <<a href="tqlineedit-h.html">tqlineedit.h</a>> class FancyPopup : public <a href="tqlabel.html">TQLabel</a> { @@ -88,8 +88,8 @@ private: void button2Pressed(); private: - <a href="ntqpushbutton.html">TQPushButton</a> *button1; - <a href="ntqpushbutton.html">TQPushButton</a> *button2; + <a href="tqpushbutton.html">TQPushButton</a> *button1; + <a href="tqpushbutton.html">TQPushButton</a> *button2; <a href="ntqframe.html">TQFrame</a>* popup1; FancyPopup* popup2; @@ -166,9 +166,9 @@ 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){ - button1 = new <a href="ntqpushbutton.html">TQPushButton</a>("Simple Popup", this); + 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() ) ); - button2 = new <a href="ntqpushbutton.html">TQPushButton</a>("Fancy Popup", this); + 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 href="qboxlayout.html">TQBoxLayout</a> * l = new <a href="qhboxlayout.html">TQHBoxLayout</a>( this ); @@ -188,11 +188,11 @@ void <a name="f469"></a>FancyPopup::popup( <a href="tqwidget.html">TQWidget</a>* popup1 = new <a href="ntqframe.html">TQFrame</a>( this ,0, WType_Popup); popup1-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( WinPanel|Raised ); popup1-><a href="tqwidget.html#resize">resize</a>(150,100); - <a href="ntqlineedit.html">TQLineEdit</a> *tmpE = new <a href="ntqlineedit.html">TQLineEdit</a>( popup1 ); -<a name="x1619"></a><a name="x1610"></a> <a href="tqobject.html#connect">connect</a>( tmpE, TQ_SIGNAL( <a href="ntqlineedit.html#returnPressed">returnPressed</a>() ), popup1, TQ_SLOT( <a href="tqwidget.html#hide">hide</a>() ) ); + <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="ntqpushbutton.html">TQPushButton</a> *tmpB = new <a href="ntqpushbutton.html">TQPushButton</a>("Click me!", popup1); + <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>() ) ); tmpB-><a href="tqwidget.html#setGeometry">setGeometry</a>(10, 50, 130, 30); @@ -206,9 +206,9 @@ void <a name="f469"></a>FancyPopup::popup( <a href="tqwidget.html">TQWidget</a>* // it with any other widget. The next four lines (if not // commented out) will for instance add a line edit widget. -// tmpE = new <a href="ntqlineedit.html">TQLineEdit</a>( popup2 ); +// tmpE = new <a href="tqlineedit.html">TQLineEdit</a>( popup2 ); // tmpE-><a href="tqwidget.html#setFocus">setFocus</a>(); -// connect( tmpE, TQ_SIGNAL( <a href="ntqlineedit.html#returnPressed">returnPressed</a>() ), popup2, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ) ); +// connect( tmpE, TQ_SIGNAL( <a href="tqlineedit.html#returnPressed">returnPressed</a>() ), popup2, TQ_SLOT( <a href="tqwidget.html#close">close</a>() ) ); // tmpE-><a href="tqwidget.html#setGeometry">setGeometry</a>(10, 10, 130, 30); } |