diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/sql.html | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/sql.html')
-rw-r--r-- | doc/html/sql.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/sql.html b/doc/html/sql.html index a88b8cbf7..796815872 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1048,13 +1048,13 @@ the code below can be automatically generated by <a href="designer-manual.html"> <a href="tqlabel.html">TQLabel</a> *salaryLabel = new <a href="tqlabel.html">TQLabel</a>( "Salary:", this ); <a href="tqlineedit.html">TQLineEdit</a> *salaryEdit = new <a href="tqlineedit.html">TQLineEdit</a>( this ); - <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this ); - <a name="x2221"></a> grid-><a href="qgridlayout.html#addWidget">addWidget</a>( forenameLabel, 0, 0 ); - grid-><a href="qgridlayout.html#addWidget">addWidget</a>( forenameDisplay, 0, 1 ); - grid-><a href="qgridlayout.html#addWidget">addWidget</a>( surnameLabel, 1, 0 ); - grid-><a href="qgridlayout.html#addWidget">addWidget</a>( surnameDisplay, 1, 1 ); - grid-><a href="qgridlayout.html#addWidget">addWidget</a>( salaryLabel, 2, 0 ); - grid-><a href="qgridlayout.html#addWidget">addWidget</a>( salaryEdit, 2, 1 ); + <a href="tqgridlayout.html">TQGridLayout</a> *grid = new <a href="tqgridlayout.html">TQGridLayout</a>( this ); + <a name="x2221"></a> grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( forenameLabel, 0, 0 ); + grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( forenameDisplay, 0, 1 ); + grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( surnameLabel, 1, 0 ); + grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( surnameDisplay, 1, 1 ); + grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( salaryLabel, 2, 0 ); + grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( salaryEdit, 2, 1 ); <a name="x2222"></a> grid-><a href="ntqlayout.html#activate">activate</a>(); <a href="tqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); @@ -1146,13 +1146,13 @@ calling <a href="tqlineedit.html#setAlignment">TQLineEdit::setAlignment</a>() an <p> <pre> <a href="tqlineedit.html">TQLineEdit</a> *forenameEdit = new <a href="tqlineedit.html">TQLineEdit</a>( this ); </pre> <p> <pre> <a href="tqpushbutton.html">TQPushButton</a> *saveButton = new <a href="tqpushbutton.html">TQPushButton</a>( "&Save", this ); - <a href="tqobject.html#connect">connect</a>( saveButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(save()) ); + <a href="tqobject.html#connect">connect</a>( saveButton, TQ_SIGNAL(<a href="tqbutton.html#clicked">clicked</a>()), this, TQ_SLOT(save()) ); </pre> <p> The FormDialog constructor is similar to the one in the previous example. We have changed the forename and surname widgets to <a href="tqlineedit.html">TQLineEdit</a>s to make them editable and have added a <a href="tqpushbutton.html">TQPushButton</a> the user can click to save their updates. -<p> <pre> <a name="x2230"></a> grid-><a href="qgridlayout.html#addWidget">addWidget</a>( saveButton, 3, 0 ); +<p> <pre> <a name="x2230"></a> grid-><a href="tqgridlayout.html#addWidget">addWidget</a>( saveButton, 3, 0 ); </pre> <p> We add an extra row to the grid containing the save button. <p> <pre> idIndex = staffCursor.index( "id" ); |