diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-07 21:58:34 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-07 21:58:34 -0500 |
commit | c740211ffba3330d951f4c3ddefea8edf23a01cd (patch) | |
tree | 0a8b7641d3c5b576d18a2f7912c75fc600f494e2 /src/sql | |
parent | 8a4eacb6185de3653f6ae401c352aef833a9e72a (diff) | |
download | tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.tar.gz tqt3-c740211ffba3330d951f4c3ddefea8edf23a01cd.zip |
Automated update from Qt3
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/drivers/sqlite/qsql_sqlite.cpp | 2 | ||||
-rw-r--r-- | src/sql/ntqsqlquery.h | 4 | ||||
-rw-r--r-- | src/sql/qdatatable.cpp | 2 | ||||
-rw-r--r-- | src/sql/qsqlcursor.cpp | 4 | ||||
-rw-r--r-- | src/sql/qsqldatabase.cpp | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp index 35033667b..ece3b9ee3 100644 --- a/src/sql/drivers/sqlite/qsql_sqlite.cpp +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp @@ -450,7 +450,7 @@ TQSqlIndex TQSQLiteDriver::primaryIndex(const TQString &tblname) const TQSqlQuery q = createQuery(); q.setForwardOnly(TRUE); - // finrst find a UNITQUE INDEX + // finrst find a UNIQUE INDEX q.exec("PRAGMA index_list('" + tblname + "');"); TQString indexname; while(q.next()) { diff --git a/src/sql/ntqsqlquery.h b/src/sql/ntqsqlquery.h index 4852e78e7..718886c26 100644 --- a/src/sql/ntqsqlquery.h +++ b/src/sql/ntqsqlquery.h @@ -38,8 +38,8 @@ ** **********************************************************************/ -#ifndef TQSQLTQUERY_H -#define TQSQLTQUERY_H +#ifndef TQSQLQUERY_H +#define TQSQLQUERY_H #ifndef QT_H #include "ntqobject.h" diff --git a/src/sql/qdatatable.cpp b/src/sql/qdatatable.cpp index 3fbdc3260..3a901a86e 100644 --- a/src/sql/qdatatable.cpp +++ b/src/sql/qdatatable.cpp @@ -154,7 +154,7 @@ void qt_debug_buffer( const TQString& msg, TQSqlRecord* cursor ) fetched from the database on an as-needed basis with the scrollbar becoming more accurate as the user scrolls down through the records. This allows extremely large queries to be displayed as - tquickly as possible, with minimum memory usage. + quickly as possible, with minimum memory usage. TQDataTable inherits TQTable's API and extends it with functions to sort and filter the data and sort columns. See setSqlCursor(), diff --git a/src/sql/qsqlcursor.cpp b/src/sql/qsqlcursor.cpp index b2a53dbdd..3e4624803 100644 --- a/src/sql/qsqlcursor.cpp +++ b/src/sql/qsqlcursor.cpp @@ -1007,7 +1007,7 @@ TQString TQSqlCursor::toString( const TQSqlIndex& i, TQSqlRecord* rec, const TQS \printuntil insert In the above example, a cursor is created on the 'prices' table - and a pointer to the insert buffer is atquired using primeInsert(). + and a pointer to the insert buffer is acquired using primeInsert(). Each field's value is set to the desired value and then insert() is called to insert the data into the database. Remember: all edit operations (insert(), update() and delete()) operate on the @@ -1175,7 +1175,7 @@ TQSqlRecord* TQSqlCursor::primeInsert() In the above example, a cursor is created on the 'prices' table and is positioned on the record to be updated. Then a pointer to - the cursor's edit buffer is actquired using primeUpdate(). A new + the cursor's edit buffer is acquired using primeUpdate(). A new value is calculated and placed into the edit buffer with the setValue() call. Finally, an update() call is made on the cursor which uses the tables's primary index to update the record in the diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index 45f4323bc..798e79483 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -773,7 +773,7 @@ bool TQSqlDatabase::open( const TQString& user, const TQString& password ) } /*! - Closes the database connection, freeing any resources actquired. + Closes the database connection, freeing any resources acquired. \sa removeDatabase() */ |