diff options
Diffstat (limited to 'doc/html/lineedits-example.html')
-rw-r--r-- | doc/html/lineedits-example.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/lineedits-example.html b/doc/html/lineedits-example.html index 15c3d8422..c5b728c1a 100644 --- a/doc/html/lineedits-example.html +++ b/doc/html/lineedits-example.html @@ -50,12 +50,12 @@ how to use different echo modes and validators. #ifndef LINEDITS_H #define LINEDITS_H -#include <<a href="qgroupbox-h.html">ntqgroupbox.h</a>> +#include <<a href="tqgroupbox-h.html">tqgroupbox.h</a>> class TQLineEdit; class TQComboBox; -class LineEdits : public <a href="ntqgroupbox.html">TQGroupBox</a> +class LineEdits : public <a href="tqgroupbox.html">TQGroupBox</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> @@ -96,8 +96,8 @@ protected slots: #include <<a href="tqframe-h.html">tqframe.h</a>> #include <<a href="qvalidator-h.html">ntqvalidator.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> -#include <<a href="qlayout-h.html">ntqlayout.h</a>> -#include <<a href="qhbox-h.html">ntqhbox.h</a>> +#include <<a href="tqlayout-h.html">tqlayout.h</a>> +#include <<a href="tqhbox-h.html">tqhbox.h</a>> /* * Constructor @@ -106,22 +106,22 @@ protected slots: */ <a name="f219"></a>LineEdits::LineEdits( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="ntqgroupbox.html">TQGroupBox</a>( 0, Horizontal, "Line edits", parent, name ) + : <a href="tqgroupbox.html">TQGroupBox</a>( 0, Horizontal, "Line edits", parent, name ) { <a href="tqframe.html#setMargin">setMargin</a>( 10 ); - <a href="qvboxlayout.html">TQVBoxLayout</a>* box = new <a href="qvboxlayout.html">TQVBoxLayout</a>( <a href="tqwidget.html#layout">layout</a>() ); + <a href="tqvboxlayout.html">TQVBoxLayout</a>* box = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( <a href="tqwidget.html#layout">layout</a>() ); - <a href="qhboxlayout.html">TQHBoxLayout</a> *row1 = new <a href="qhboxlayout.html">TQHBoxLayout</a>( box ); -<a name="x173"></a> row1-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqhboxlayout.html">TQHBoxLayout</a> *row1 = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( box ); +<a name="x173"></a> row1-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // Create a Label <a href="tqlabel.html">TQLabel</a>* label = new <a href="tqlabel.html">TQLabel</a>( "Echo Mode: ", this); -<a name="x169"></a> row1-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); +<a name="x169"></a> row1-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // Create a Combobox with three items... combo1 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); - row1-><a href="qboxlayout.html#addWidget">addWidget</a>( combo1 ); + row1-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo1 ); <a name="x171"></a> combo1-><a href="tqcombobox.html#insertItem">insertItem</a>( "Normal" ); combo1-><a href="tqcombobox.html#insertItem">insertItem</a>( "Password" ); combo1-><a href="tqcombobox.html#insertItem">insertItem</a>( "No Echo" ); @@ -131,19 +131,19 @@ protected slots: // insert the first LineEdit lined1 = new <a href="tqlineedit.html">TQLineEdit</a>( this ); - box-><a href="qboxlayout.html#addWidget">addWidget</a>( lined1 ); + box-><a href="tqboxlayout.html#addWidget">addWidget</a>( lined1 ); // another widget which is used for layouting - <a href="qhboxlayout.html">TQHBoxLayout</a> *row2 = new <a href="qhboxlayout.html">TQHBoxLayout</a>( box ); - row2-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqhboxlayout.html">TQHBoxLayout</a> *row2 = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( box ); + row2-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // and the second label label = new <a href="tqlabel.html">TQLabel</a>( "Validator: ", this ); - row2-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); + row2-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // A second Combobox with again three items... combo2 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); - row2-><a href="qboxlayout.html#addWidget">addWidget</a>( combo2 ); + row2-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo2 ); combo2-><a href="tqcombobox.html#insertItem">insertItem</a>( "No Validator" ); combo2-><a href="tqcombobox.html#insertItem">insertItem</a>( "Integer Validator" ); combo2-><a href="tqcombobox.html#insertItem">insertItem</a>( "Double Validator" ); @@ -152,19 +152,19 @@ protected slots: // and the second LineEdit lined2 = new <a href="tqlineedit.html">TQLineEdit</a>( this ); - box-><a href="qboxlayout.html#addWidget">addWidget</a>( lined2 ); + box-><a href="tqboxlayout.html#addWidget">addWidget</a>( lined2 ); // yet another widget which is used for layouting - <a href="qhboxlayout.html">TQHBoxLayout</a> *row3 = new <a href="qhboxlayout.html">TQHBoxLayout</a>( box ); - row3-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqhboxlayout.html">TQHBoxLayout</a> *row3 = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( box ); + row3-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // we need a label for this too label = new <a href="tqlabel.html">TQLabel</a>( "Alignment: ", this ); - row3-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); + row3-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // A combo box for setting alignment combo3 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); - row3-><a href="qboxlayout.html#addWidget">addWidget</a>( combo3 ); + row3-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo3 ); combo3-><a href="tqcombobox.html#insertItem">insertItem</a>( "Left" ); combo3-><a href="tqcombobox.html#insertItem">insertItem</a>( "Centered" ); combo3-><a href="tqcombobox.html#insertItem">insertItem</a>( "Right" ); @@ -173,19 +173,19 @@ protected slots: // and the third lineedit lined3 = new <a href="tqlineedit.html">TQLineEdit</a>( this ); - box-><a href="qboxlayout.html#addWidget">addWidget</a>( lined3 ); + box-><a href="tqboxlayout.html#addWidget">addWidget</a>( lined3 ); // exactly the same for the fourth - <a href="qhboxlayout.html">TQHBoxLayout</a> *row4 = new <a href="qhboxlayout.html">TQHBoxLayout</a>( box ); - row4-><a href="ntqlayout.html#setMargin">setMargin</a>( 5 ); + <a href="tqhboxlayout.html">TQHBoxLayout</a> *row4 = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( box ); + row4-><a href="tqlayout.html#setMargin">setMargin</a>( 5 ); // we need a label for this too label = new <a href="tqlabel.html">TQLabel</a>( "Input mask: ", this ); - row4-><a href="qboxlayout.html#addWidget">addWidget</a>( label ); + row4-><a href="tqboxlayout.html#addWidget">addWidget</a>( label ); // A combo box for choosing an input mask combo4 = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); - row4-><a href="qboxlayout.html#addWidget">addWidget</a>( combo4 ); + row4-><a href="tqboxlayout.html#addWidget">addWidget</a>( combo4 ); combo4-><a href="tqcombobox.html#insertItem">insertItem</a>( "No mask" ); combo4-><a href="tqcombobox.html#insertItem">insertItem</a>( "Phone number" ); combo4-><a href="tqcombobox.html#insertItem">insertItem</a>( "ISO date" ); @@ -197,11 +197,11 @@ protected slots: // and the fourth lineedit lined4 = new <a href="tqlineedit.html">TQLineEdit</a>( this ); - box-><a href="qboxlayout.html#addWidget">addWidget</a>( lined4 ); + box-><a href="tqboxlayout.html#addWidget">addWidget</a>( lined4 ); // last widget used for layouting - <a href="ntqhbox.html">TQHBox</a> *row5 = new <a href="ntqhbox.html">TQHBox</a>( this ); - box-><a href="qboxlayout.html#addWidget">addWidget</a>( row5 ); + <a href="tqhbox.html">TQHBox</a> *row5 = new <a href="tqhbox.html">TQHBox</a>( this ); + box-><a href="tqboxlayout.html#addWidget">addWidget</a>( row5 ); row5-><a href="tqframe.html#setMargin">setMargin</a>( 5 ); // last label @@ -216,7 +216,7 @@ protected slots: // and the last lineedit lined5 = new <a href="tqlineedit.html">TQLineEdit</a>( this ); - box-><a href="qboxlayout.html#addWidget">addWidget</a>( lined5 ); + box-><a href="tqboxlayout.html#addWidget">addWidget</a>( lined5 ); // give the first LineEdit the focus at the beginning <a name="x181"></a> lined1-><a href="tqwidget.html#setFocus">setFocus</a>(); |