diff options
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 e0b81f3d4..6b5687d42 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -965,7 +965,7 @@ examples provides additional information. <a href="tqdatatable.html">TQDataTable</a> *staffTable = new <a href="tqdatatable.html">TQDataTable</a>( &staffCursor, TRUE ); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( staffTable ); <a name="x2211"></a> staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); - staffTable-><a href="ntqwidget.html#show">show</a>(); + staffTable-><a href="tqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); } @@ -998,7 +998,7 @@ function. <a name="x2216"></a> staffTable-><a href="tqdatatable.html#setSort">setSort</a>( order ); <a name="x2215"></a> staffTable-><a href="tqdatatable.html#refresh">refresh</a>(); - staffTable-><a href="ntqwidget.html#show">show</a>(); + staffTable-><a href="tqwidget.html#show">show</a>(); </pre><blockquote><p align="center"><em> From <a href="sql-overview-table2-main-cpp.html">sql/overview/table2/main.cpp</a> </em></p> </blockquote><p> We create an empty <a href="tqdatatable.html">TQDataTable</a> which we make into our main widget and @@ -1219,7 +1219,7 @@ we will only cover the differences here. The full source is in <a href="sql-over TQ_OBJECT TQ_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine ) public: - CustomEdit( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + CustomEdit( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); <a href="ntqstring.html">TQString</a> upperLine() const; void setUpperLine( const <a href="ntqstring.html">TQString</a> &line ); public slots: @@ -1237,7 +1237,7 @@ also created a slot, changed(). to our FormDialog's private data. <p> -<pre> CustomEdit::CustomEdit( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) : +<pre> CustomEdit::CustomEdit( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqlineedit.html">TQLineEdit</a>( parent, name ) { <a href="tqobject.html#connect">connect</a>( this, TQ_SIGNAL(<a href="ntqlineedit.html#textChanged">textChanged</a>(const <a href="ntqstring.html">TQString</a> &)), @@ -1300,7 +1300,7 @@ can use a custom editor. TQ_OBJECT TQ_PROPERTY( int statusid READ statusId WRITE setStatusId ) public: - StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); + StatusPicker( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); int statusId() const; void setStatusId( int id ); private: @@ -1316,14 +1316,14 @@ to/from the statusids that we will list in the combobox. { TQ_OBJECT public: - <a href="ntqwidget.html">TQWidget</a> *createEditor( <a href="ntqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ); + <a href="tqwidget.html">TQWidget</a> *createEditor( <a href="tqwidget.html">TQWidget</a> *parent, const <a href="tqsqlfield.html">TQSqlField</a> *field ); }; </pre> <p> We also need to subclass <a href="tqsqleditorfactory.html">TQSqlEditorFactory</a> declaring a createEditor() function since that is the only function we need to reimplement. <p> -<pre> StatusPicker::StatusPicker( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<pre> StatusPicker::StatusPicker( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqcombobox.html">TQComboBox</a>( parent, name ) { <a href="tqsqlcursor.html">TQSqlCursor</a> cur( "status" ); @@ -1380,7 +1380,7 @@ to subclass TQDataTable and reimplement the paintField() function. public: CustomTable( <a href="tqsqlcursor.html">TQSqlCursor</a> *cursor, bool autoPopulate = FALSE, - <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) : + <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 ) : <a href="tqdatatable.html">TQDataTable</a>( cursor, autoPopulate, parent, name ) {} void paintField( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="tqsqlfield.html">TQSqlField</a>* field, const <a href="ntqrect.html">TQRect</a> & cr, bool ); @@ -1443,7 +1443,7 @@ staffTable from being a TQDataTable to being a CustomTable. invoiceItemTable-><a href="tqdatatable.html#addColumn">addColumn</a>( "paiddate", "Paid" ); <a name="x2256"></a> invoiceItemTable-><a href="tqdatatable.html#refresh">refresh</a>(); - invoiceItemTable-><a href="ntqwidget.html#show">show</a>(); + invoiceItemTable-><a href="tqwidget.html#show">show</a>(); return app.<a href="ntqapplication.html#exec">exec</a>(); } |