diff options
Diffstat (limited to 'doc/html/sql-overview-custom1-main-cpp.html')
-rw-r--r-- | doc/html/sql-overview-custom1-main-cpp.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/sql-overview-custom1-main-cpp.html b/doc/html/sql-overview-custom1-main-cpp.html index 0912a8927..f09eb7acd 100644 --- a/doc/html/sql-overview-custom1-main-cpp.html +++ b/doc/html/sql-overview-custom1-main-cpp.html @@ -94,23 +94,23 @@ TQString <a name="f19"></a>CustomEdit::upperLine() const grid-><a href="qgridlayout.html#addWidget">addWidget</a>( saveButton, 3, 0 ); grid-><a href="ntqlayout.html#activate">activate</a>(); - staffCursor = new <a href="ntqsqlcursor.html">TQSqlCursor</a>( "staff" ); - staffCursor-><a href="ntqsqlcursor.html#setTrimmed">setTrimmed</a>( "forename", TRUE ); - staffCursor-><a href="ntqsqlcursor.html#setTrimmed">setTrimmed</a>( "surname", TRUE ); - idIndex = staffCursor-><a href="ntqsqlcursor.html#index">index</a>( "id" ); - staffCursor-><a href="ntqsqlcursor.html#select">select</a>( idIndex ); - staffCursor-><a href="ntqsqlquery.html#first">first</a>(); - - propMap = new <a href="ntqsqlpropertymap.html">TQSqlPropertyMap</a>; - propMap-><a href="ntqsqlpropertymap.html#insert">insert</a>( forenameEdit-><a href="tqobject.html#className">className</a>(), "upperLine" ); - - sqlForm = new <a href="ntqsqlform.html">TQSqlForm</a>( this ); - sqlForm-><a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor-><a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); - sqlForm-><a href="ntqsqlform.html#installPropertyMap">installPropertyMap</a>( propMap ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( forenameEdit, "forename" ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( surnameEdit, "surname" ); - sqlForm-><a href="ntqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); - sqlForm-><a href="ntqsqlform.html#readFields">readFields</a>(); + staffCursor = new <a href="tqsqlcursor.html">TQSqlCursor</a>( "staff" ); + staffCursor-><a href="tqsqlcursor.html#setTrimmed">setTrimmed</a>( "forename", TRUE ); + staffCursor-><a href="tqsqlcursor.html#setTrimmed">setTrimmed</a>( "surname", TRUE ); + idIndex = staffCursor-><a href="tqsqlcursor.html#index">index</a>( "id" ); + staffCursor-><a href="tqsqlcursor.html#select">select</a>( idIndex ); + staffCursor-><a href="tqsqlquery.html#first">first</a>(); + + propMap = new <a href="tqsqlpropertymap.html">TQSqlPropertyMap</a>; + propMap-><a href="tqsqlpropertymap.html#insert">insert</a>( forenameEdit-><a href="tqobject.html#className">className</a>(), "upperLine" ); + + sqlForm = new <a href="tqsqlform.html">TQSqlForm</a>( this ); + sqlForm-><a href="tqsqlform.html#setRecord">setRecord</a>( staffCursor-><a href="tqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + sqlForm-><a href="tqsqlform.html#installPropertyMap">installPropertyMap</a>( propMap ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( forenameEdit, "forename" ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( surnameEdit, "surname" ); + sqlForm-><a href="tqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); + sqlForm-><a href="tqsqlform.html#readFields">readFields</a>(); } @@ -122,10 +122,10 @@ FormDialog::~FormDialog() void <a name="f21"></a>FormDialog::save() { - sqlForm-><a href="ntqsqlform.html#writeFields">writeFields</a>(); - staffCursor-><a href="ntqsqlcursor.html#update">update</a>(); - staffCursor-><a href="ntqsqlcursor.html#select">select</a>( idIndex ); - staffCursor-><a href="ntqsqlquery.html#first">first</a>(); + sqlForm-><a href="tqsqlform.html#writeFields">writeFields</a>(); + staffCursor-><a href="tqsqlcursor.html#update">update</a>(); + staffCursor-><a href="tqsqlcursor.html#select">select</a>( idIndex ); + staffCursor-><a href="tqsqlquery.html#first">first</a>(); } |