diff options
Diffstat (limited to 'doc/html/sql-overview-form1-main-cpp.html')
-rw-r--r-- | doc/html/sql-overview-form1-main-cpp.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/sql-overview-form1-main-cpp.html b/doc/html/sql-overview-form1-main-cpp.html index a9b1fd62f..000dbd068 100644 --- a/doc/html/sql-overview-form1-main-cpp.html +++ b/doc/html/sql-overview-form1-main-cpp.html @@ -42,17 +42,17 @@ body { background: #ffffff; color: black; } ** *****************************************************************************/ -#include <<a href="qapplication-h.html">qapplication.h</a>> -#include <<a href="qdialog-h.html">qdialog.h</a>> -#include <<a href="qlabel-h.html">qlabel.h</a>> -#include <<a href="qlayout-h.html">qlayout.h</a>> -#include <<a href="qlineedit-h.html">qlineedit.h</a>> -#include <<a href="qsqldatabase-h.html">qsqldatabase.h</a>> -#include <<a href="qsqlcursor-h.html">qsqlcursor.h</a>> -#include <<a href="qsqlform-h.html">qsqlform.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="qdialog-h.html">ntqdialog.h</a>> +#include <<a href="qlabel-h.html">ntqlabel.h</a>> +#include <<a href="qlayout-h.html">ntqlayout.h</a>> +#include <<a href="qlineedit-h.html">ntqlineedit.h</a>> +#include <<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>> +#include <<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>> +#include <<a href="qsqlform-h.html">ntqsqlform.h</a>> #include "../connection.h" -class FormDialog : public <a href="qdialog.html">TQDialog</a> +class FormDialog : public <a href="ntqdialog.html">TQDialog</a> { public: FormDialog(); @@ -61,12 +61,12 @@ class FormDialog : public <a href="qdialog.html">TQDialog</a> <a name="f15"></a>FormDialog::FormDialog() { - <a href="qlabel.html">TQLabel</a> *forenameLabel = new <a href="qlabel.html">TQLabel</a>( "Forename:", this ); - <a href="qlabel.html">TQLabel</a> *forenameDisplay = new <a href="qlabel.html">TQLabel</a>( this ); - <a href="qlabel.html">TQLabel</a> *surnameLabel = new <a href="qlabel.html">TQLabel</a>( "Surname:", this ); - <a href="qlabel.html">TQLabel</a> *surnameDisplay = new <a href="qlabel.html">TQLabel</a>( this ); - <a href="qlabel.html">TQLabel</a> *salaryLabel = new <a href="qlabel.html">TQLabel</a>( "Salary:", this ); - <a href="qlineedit.html">TQLineEdit</a> *salaryEdit = new <a href="qlineedit.html">TQLineEdit</a>( this ); + <a href="ntqlabel.html">TQLabel</a> *forenameLabel = new <a href="ntqlabel.html">TQLabel</a>( "Forename:", this ); + <a href="ntqlabel.html">TQLabel</a> *forenameDisplay = new <a href="ntqlabel.html">TQLabel</a>( this ); + <a href="ntqlabel.html">TQLabel</a> *surnameLabel = new <a href="ntqlabel.html">TQLabel</a>( "Surname:", this ); + <a href="ntqlabel.html">TQLabel</a> *surnameDisplay = new <a href="ntqlabel.html">TQLabel</a>( this ); + <a href="ntqlabel.html">TQLabel</a> *salaryLabel = new <a href="ntqlabel.html">TQLabel</a>( "Salary:", this ); + <a href="ntqlineedit.html">TQLineEdit</a> *salaryEdit = new <a href="ntqlineedit.html">TQLineEdit</a>( this ); <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this ); grid-><a href="qgridlayout.html#addWidget">addWidget</a>( forenameLabel, 0, 0 ); @@ -75,32 +75,32 @@ class FormDialog : public <a href="qdialog.html">TQDialog</a> 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 ); - grid-><a href="qlayout.html#activate">activate</a>(); + grid-><a href="ntqlayout.html#activate">activate</a>(); - <a href="qsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); - staffCursor.<a href="qsqlcursor.html#select">select</a>(); - staffCursor.<a href="qsqlquery.html#next">next</a>(); + <a href="ntqsqlcursor.html">TQSqlCursor</a> staffCursor( "staff" ); + staffCursor.<a href="ntqsqlcursor.html#select">select</a>(); + staffCursor.<a href="ntqsqlquery.html#next">next</a>(); - <a href="qsqlform.html">TQSqlForm</a> sqlForm( this ); - sqlForm.<a href="qsqlform.html#setRecord">setRecord</a>( staffCursor.<a href="qsqlcursor.html#primeUpdate">primeUpdate</a>() ); - sqlForm.<a href="qsqlform.html#insert">insert</a>( forenameDisplay, "forename" ); - sqlForm.<a href="qsqlform.html#insert">insert</a>( surnameDisplay, "surname" ); - sqlForm.<a href="qsqlform.html#insert">insert</a>( salaryEdit, "salary" ); - sqlForm.<a href="qsqlform.html#readFields">readFields</a>(); + <a href="ntqsqlform.html">TQSqlForm</a> sqlForm( this ); + sqlForm.<a href="ntqsqlform.html#setRecord">setRecord</a>( staffCursor.<a href="ntqsqlcursor.html#primeUpdate">primeUpdate</a>() ); + sqlForm.<a href="ntqsqlform.html#insert">insert</a>( forenameDisplay, "forename" ); + sqlForm.<a href="ntqsqlform.html#insert">insert</a>( surnameDisplay, "surname" ); + sqlForm.<a href="ntqsqlform.html#insert">insert</a>( salaryEdit, "salary" ); + sqlForm.<a href="ntqsqlform.html#readFields">readFields</a>(); } int main( int argc, char *argv[] ) { - <a href="qapplication.html">TQApplication</a> app( argc, argv ); + <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); if ( ! createConnections() ) return 1; FormDialog *formDialog = new FormDialog(); - formDialog-><a href="qdialog.html#show">show</a>(); - app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( formDialog ); + formDialog-><a href="ntqdialog.html#show">show</a>(); + app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( formDialog ); - return app.<a href="qapplication.html#exec">exec</a>(); + return app.<a href="ntqapplication.html#exec">exec</a>(); } </pre><!-- eof --> <p><address><hr><div align=center> |