diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-28 10:17:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-28 10:17:01 +0900 |
commit | 5fffa30386502b5423e45c2ed5e6af756b11c7b4 (patch) | |
tree | fa17e10b048e8e13433b861cbe98cf895b2324c7 /examples | |
parent | 04913ce7a46fd027856e83a96205fdc388742a19 (diff) | |
download | tqt3-5fffa30386502b5423e45c2ed5e6af756b11c7b4.tar.gz tqt3-5fffa30386502b5423e45c2ed5e6af756b11c7b4.zip |
Rename nt* sql related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples')
40 files changed, 86 insertions, 86 deletions
diff --git a/examples/README b/examples/README index bcd6e34e3..1bd72aba7 100644 --- a/examples/README +++ b/examples/README @@ -340,7 +340,7 @@ sql/overview [to be withdrawn] sql/sqltable A very simple example that shows how to relate a database table to - a QDataTable. + a TQDataTable. tabdialog This example shows how to use a dialog with multiple tabs (pages). diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp index d2d86ec3e..f1518c460 100644 --- a/examples/demo/main.cpp +++ b/examples/demo/main.cpp @@ -46,7 +46,7 @@ #include <ntqwidgetstack.h> #if defined(TQT_MODULE_SQL) -#include <ntqsqldatabase.h> +#include <tqsqldatabase.h> #include "sql/sqlex.h" #endif diff --git a/examples/demo/sql/connect.ui.h b/examples/demo/sql/connect.ui.h index a56a1b201..b6a3d21fd 100644 --- a/examples/demo/sql/connect.ui.h +++ b/examples/demo/sql/connect.ui.h @@ -6,7 +6,7 @@ ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ -#include <ntqsqldatabase.h> +#include <tqsqldatabase.h> void ConnectDialog::init() { diff --git a/examples/demo/sql/sqlex.ui.h b/examples/demo/sql/sqlex.ui.h index aa97dfe47..870efb40e 100644 --- a/examples/demo/sql/sqlex.ui.h +++ b/examples/demo/sql/sqlex.ui.h @@ -5,16 +5,16 @@ ** update this file, preserving your code. Create an init() slot in place of ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ -#include <ntqsqldriver.h> +#include <tqsqldriver.h> #include <ntqmessagebox.h> -#include <ntqsqldatabase.h> +#include <tqsqldatabase.h> #include <ntqlineedit.h> #include <ntqcombobox.h> #include <ntqspinbox.h> -#include <ntqsqlerror.h> -#include <ntqsqlcursor.h> -#include <ntqsqlselectcursor.h> -#include <ntqdatatable.h> +#include <tqsqlerror.h> +#include <tqsqlcursor.h> +#include <tqsqlselectcursor.h> +#include <tqdatatable.h> #include "connect.h" static void showError( const TQSqlError& err, TQWidget* parent = 0 ) diff --git a/examples/sql/blob/main.cpp b/examples/sql/blob/main.cpp index 9bb9ea0c4..0144ad777 100644 --- a/examples/sql/blob/main.cpp +++ b/examples/sql/blob/main.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlquery.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlquery.h> +#include <tqsqlcursor.h> #include <ntqfile.h> #define DRIVER "TQPSQL7" /* see the TQt SQL documentation for a list of available drivers */ diff --git a/examples/sql/overview/basicbrowsing/main.cpp b/examples/sql/overview/basicbrowsing/main.cpp index 9244d2a93..5485ef5a4 100644 --- a/examples/sql/overview/basicbrowsing/main.cpp +++ b/examples/sql/overview/basicbrowsing/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlquery.h> +#include <tqsqldatabase.h> +#include <tqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/basicbrowsing2/main.cpp b/examples/sql/overview/basicbrowsing2/main.cpp index 79b2b17db..f70915cdc 100644 --- a/examples/sql/overview/basicbrowsing2/main.cpp +++ b/examples/sql/overview/basicbrowsing2/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlquery.h> +#include <tqsqldatabase.h> +#include <tqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/basicdatamanip/main.cpp b/examples/sql/overview/basicdatamanip/main.cpp index ed422afa7..f6be7828f 100644 --- a/examples/sql/overview/basicdatamanip/main.cpp +++ b/examples/sql/overview/basicdatamanip/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlquery.h> +#include <tqsqldatabase.h> +#include <tqsqlquery.h> #include "../connection.h" bool createConnections(); diff --git a/examples/sql/overview/connect1/main.cpp b/examples/sql/overview/connect1/main.cpp index ea958e3ae..87c15975f 100644 --- a/examples/sql/overview/connect1/main.cpp +++ b/examples/sql/overview/connect1/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> +#include <tqsqldatabase.h> #include "../connection.h" diff --git a/examples/sql/overview/connection.cpp b/examples/sql/overview/connection.cpp index bb8654df1..860511211 100644 --- a/examples/sql/overview/connection.cpp +++ b/examples/sql/overview/connection.cpp @@ -6,7 +6,7 @@ ** program may be used, distributed and modified without limitation. ** *****************************************************************************/ -#include <ntqsqldatabase.h> +#include <tqsqldatabase.h> #include "connection.h" bool createConnections() diff --git a/examples/sql/overview/create_connections/main.cpp b/examples/sql/overview/create_connections/main.cpp index dc1042b7b..9d8197619 100644 --- a/examples/sql/overview/create_connections/main.cpp +++ b/examples/sql/overview/create_connections/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> +#include <tqsqldatabase.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/custom1/main.h b/examples/sql/overview/custom1/main.h index 6ba30e28c..5eeb10ca7 100644 --- a/examples/sql/overview/custom1/main.h +++ b/examples/sql/overview/custom1/main.h @@ -13,10 +13,10 @@ #include <ntqlayout.h> #include <ntqlineedit.h> #include <ntqpushbutton.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqsqlform.h> -#include <ntqsqlpropertymap.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqsqlform.h> +#include <tqsqlpropertymap.h> #include "../connection.h" class CustomEdit : public TQLineEdit diff --git a/examples/sql/overview/delete/main.cpp b/examples/sql/overview/delete/main.cpp index 9ade50bab..a9c2697cb 100644 --- a/examples/sql/overview/delete/main.cpp +++ b/examples/sql/overview/delete/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/extract/main.cpp b/examples/sql/overview/extract/main.cpp index 0c47911ce..38da57b1e 100644 --- a/examples/sql/overview/extract/main.cpp +++ b/examples/sql/overview/extract/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/form1/main.cpp b/examples/sql/overview/form1/main.cpp index 1c71bec12..9779eb6de 100644 --- a/examples/sql/overview/form1/main.cpp +++ b/examples/sql/overview/form1/main.cpp @@ -12,9 +12,9 @@ #include <ntqlabel.h> #include <ntqlayout.h> #include <ntqlineedit.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqsqlform.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqsqlform.h> #include "../connection.h" class FormDialog : public TQDialog diff --git a/examples/sql/overview/form2/main.h b/examples/sql/overview/form2/main.h index c3d251e6b..c626d588b 100644 --- a/examples/sql/overview/form2/main.h +++ b/examples/sql/overview/form2/main.h @@ -13,9 +13,9 @@ #include <ntqlayout.h> #include <ntqlineedit.h> #include <ntqpushbutton.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqsqlform.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqsqlform.h> #include "../connection.h" class FormDialog : public TQDialog diff --git a/examples/sql/overview/insert/main.cpp b/examples/sql/overview/insert/main.cpp index 0f2c7b866..c90072fb5 100644 --- a/examples/sql/overview/insert/main.cpp +++ b/examples/sql/overview/insert/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/insert2/main.cpp b/examples/sql/overview/insert2/main.cpp index 5f5ee6620..e7ff98ade 100644 --- a/examples/sql/overview/insert2/main.cpp +++ b/examples/sql/overview/insert2/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/navigating/main.cpp b/examples/sql/overview/navigating/main.cpp index a2e773c1b..3dcc274a1 100644 --- a/examples/sql/overview/navigating/main.cpp +++ b/examples/sql/overview/navigating/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlquery.h> +#include <tqsqldatabase.h> +#include <tqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/order1/main.cpp b/examples/sql/overview/order1/main.cpp index 8c2c48df3..d114a7c2a 100644 --- a/examples/sql/overview/order1/main.cpp +++ b/examples/sql/overview/order1/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/order2/main.cpp b/examples/sql/overview/order2/main.cpp index 09c36151b..7e473708f 100644 --- a/examples/sql/overview/order2/main.cpp +++ b/examples/sql/overview/order2/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/retrieve1/main.cpp b/examples/sql/overview/retrieve1/main.cpp index 768f870de..3b746c273 100644 --- a/examples/sql/overview/retrieve1/main.cpp +++ b/examples/sql/overview/retrieve1/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlquery.h> +#include <tqsqldatabase.h> +#include <tqsqlquery.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/retrieve2/main.cpp b/examples/sql/overview/retrieve2/main.cpp index 71079e5ee..baa9d8543 100644 --- a/examples/sql/overview/retrieve2/main.cpp +++ b/examples/sql/overview/retrieve2/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/subclass1/main.cpp b/examples/sql/overview/subclass1/main.cpp index 97b33c473..4ecb394bd 100644 --- a/examples/sql/overview/subclass1/main.cpp +++ b/examples/sql/overview/subclass1/main.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqdatatable.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/subclass2/main.cpp b/examples/sql/overview/subclass2/main.cpp index de4d0d7e4..429cecd37 100644 --- a/examples/sql/overview/subclass2/main.cpp +++ b/examples/sql/overview/subclass2/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <ntqdatatable.h> +#include <tqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass2/main.h b/examples/sql/overview/subclass2/main.h index 421b634d6..3d4f2951a 100644 --- a/examples/sql/overview/subclass2/main.h +++ b/examples/sql/overview/subclass2/main.h @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/subclass3/main.cpp b/examples/sql/overview/subclass3/main.cpp index 7f6f7f567..2e515f590 100644 --- a/examples/sql/overview/subclass3/main.cpp +++ b/examples/sql/overview/subclass3/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <ntqdatatable.h> +#include <tqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass3/main.h b/examples/sql/overview/subclass3/main.h index 8c68eb4df..b9138b85e 100644 --- a/examples/sql/overview/subclass3/main.h +++ b/examples/sql/overview/subclass3/main.h @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/subclass4/main.cpp b/examples/sql/overview/subclass4/main.cpp index 0ea60afcb..94dea675c 100644 --- a/examples/sql/overview/subclass4/main.cpp +++ b/examples/sql/overview/subclass4/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <ntqdatatable.h> +#include <tqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass4/main.h b/examples/sql/overview/subclass4/main.h index 8c68eb4df..b9138b85e 100644 --- a/examples/sql/overview/subclass4/main.h +++ b/examples/sql/overview/subclass4/main.h @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/subclass5/main.cpp b/examples/sql/overview/subclass5/main.cpp index afb616f67..f5ef905bc 100644 --- a/examples/sql/overview/subclass5/main.cpp +++ b/examples/sql/overview/subclass5/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <ntqdatatable.h> +#include <tqdatatable.h> InvoiceItemCursor::InvoiceItemCursor() : TQSqlCursor( "invoiceitem" ) diff --git a/examples/sql/overview/subclass5/main.h b/examples/sql/overview/subclass5/main.h index 95e30e415..4bd686031 100644 --- a/examples/sql/overview/subclass5/main.h +++ b/examples/sql/overview/subclass5/main.h @@ -9,8 +9,8 @@ #include <ntqapplication.h> #include <ntqdatetime.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" class TQSqlRecord; diff --git a/examples/sql/overview/table1/main.cpp b/examples/sql/overview/table1/main.cpp index 118e73f6d..72b84b1cc 100644 --- a/examples/sql/overview/table1/main.cpp +++ b/examples/sql/overview/table1/main.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqdatatable.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/table2/main.cpp b/examples/sql/overview/table2/main.cpp index 4c6794c29..8b8fcb176 100644 --- a/examples/sql/overview/table2/main.cpp +++ b/examples/sql/overview/table2/main.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqdatatable.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqdatatable.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/overview/table3/main.cpp b/examples/sql/overview/table3/main.cpp index a105239c9..c0cb54b50 100644 --- a/examples/sql/overview/table3/main.cpp +++ b/examples/sql/overview/table3/main.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "main.h" -#include <ntqdatatable.h> +#include <tqdatatable.h> StatusPicker::StatusPicker( TQWidget *parent, const char *name ) : TQComboBox( parent, name ) diff --git a/examples/sql/overview/table3/main.h b/examples/sql/overview/table3/main.h index 4b10d7e17..4e9b07299 100644 --- a/examples/sql/overview/table3/main.h +++ b/examples/sql/overview/table3/main.h @@ -10,10 +10,10 @@ #include <ntqapplication.h> #include <ntqcombobox.h> #include <ntqmap.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqsqleditorfactory.h> -#include <ntqsqlpropertymap.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqsqleditorfactory.h> +#include <tqsqlpropertymap.h> #include "../connection.h" class StatusPicker : public TQComboBox diff --git a/examples/sql/overview/table4/main.h b/examples/sql/overview/table4/main.h index 394d34738..d1fb591a0 100644 --- a/examples/sql/overview/table4/main.h +++ b/examples/sql/overview/table4/main.h @@ -11,11 +11,11 @@ #include <ntqcombobox.h> #include <ntqmap.h> #include <ntqpainter.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> -#include <ntqsqleditorfactory.h> -#include <ntqsqlpropertymap.h> -#include <ntqdatatable.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> +#include <tqsqleditorfactory.h> +#include <tqsqlpropertymap.h> +#include <tqdatatable.h> #include "../connection.h" class StatusPicker : public TQComboBox diff --git a/examples/sql/overview/update/main.cpp b/examples/sql/overview/update/main.cpp index 905e98107..e4782d8b1 100644 --- a/examples/sql/overview/update/main.cpp +++ b/examples/sql/overview/update/main.cpp @@ -8,8 +8,8 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqsqlcursor.h> #include "../connection.h" int main( int argc, char *argv[] ) diff --git a/examples/sql/sqltable/main.cpp b/examples/sql/sqltable/main.cpp index 5af04d6c5..cda4113d4 100644 --- a/examples/sql/sqltable/main.cpp +++ b/examples/sql/sqltable/main.cpp @@ -8,9 +8,9 @@ *****************************************************************************/ #include <ntqapplication.h> -#include <ntqsqldatabase.h> -#include <ntqdatatable.h> -#include <ntqsqlcursor.h> +#include <tqsqldatabase.h> +#include <tqdatatable.h> +#include <tqsqlcursor.h> #include <ntqmessagebox.h> /* Modify the following to match your environment */ diff --git a/examples/sql/sqltable/sqltable.doc b/examples/sql/sqltable/sqltable.doc index bfa86f551..fb4ad0740 100644 --- a/examples/sql/sqltable/sqltable.doc +++ b/examples/sql/sqltable/sqltable.doc @@ -13,7 +13,7 @@ \ingroup sql-examples \title SQL Table - This example shows how to use a QDataTable to browse data in a SQL database. + This example shows how to use a TQDataTable to browse data in a SQL database. <hr> |