summaryrefslogtreecommitdiffstats
path: root/doc/html/sql-overview-form1-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/sql-overview-form1-main-cpp.html')
-rw-r--r--doc/html/sql-overview-form1-main-cpp.html58
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 &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qdialog-h.html">qdialog.h</a>&gt;
-#include &lt;<a href="qlabel-h.html">qlabel.h</a>&gt;
-#include &lt;<a href="qlayout-h.html">qlayout.h</a>&gt;
-#include &lt;<a href="qlineedit-h.html">qlineedit.h</a>&gt;
-#include &lt;<a href="qsqldatabase-h.html">qsqldatabase.h</a>&gt;
-#include &lt;<a href="qsqlcursor-h.html">qsqlcursor.h</a>&gt;
-#include &lt;<a href="qsqlform-h.html">qsqlform.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qdialog-h.html">ntqdialog.h</a>&gt;
+#include &lt;<a href="qlabel-h.html">ntqlabel.h</a>&gt;
+#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
+#include &lt;<a href="qlineedit-h.html">ntqlineedit.h</a>&gt;
+#include &lt;<a href="qsqldatabase-h.html">ntqsqldatabase.h</a>&gt;
+#include &lt;<a href="qsqlcursor-h.html">ntqsqlcursor.h</a>&gt;
+#include &lt;<a href="qsqlform-h.html">ntqsqlform.h</a>&gt;
#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-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( forenameLabel, 0, 0 );
@@ -75,32 +75,32 @@ class FormDialog : public <a href="qdialog.html">TQDialog</a>
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( surnameDisplay, 1, 1 );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( salaryLabel, 2, 0 );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( salaryEdit, 2, 1 );
- grid-&gt;<a href="qlayout.html#activate">activate</a>();
+ grid-&gt;<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-&gt;<a href="qdialog.html#show">show</a>();
- app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( formDialog );
+ formDialog-&gt;<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>