From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/ntqsqlselectcursor.html | 93 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 doc/html/ntqsqlselectcursor.html (limited to 'doc/html/ntqsqlselectcursor.html') diff --git a/doc/html/ntqsqlselectcursor.html b/doc/html/ntqsqlselectcursor.html new file mode 100644 index 000000000..e1a943498 --- /dev/null +++ b/doc/html/ntqsqlselectcursor.html @@ -0,0 +1,93 @@ + + + + + +TQSqlSelectCursor Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

TQSqlSelectCursor Class Reference
[sql module]

+ +

The TQSqlSelectCursor class provides browsing of general SQL +SELECT statements. +More... +

#include <ntqsqlselectcursor.h> +

Inherits TQSqlCursor. +

List of all member functions. +

Public Members

+ +

Detailed Description

+ + +The TQSqlSelectCursor class provides browsing of general SQL +SELECT statements. +

+ +

TQSqlSelectCursor is a convenience class that makes it possible to +display result sets from general SQL SELECT statements in +data-aware TQt widgets. TQSqlSelectCursor is read-only and does not +support INSERT, UPDATE or DELETE operations. +

Pass the query in at construction time, or use the +TQSqlSelectCursor::exec() function. +

Example: +

+    ...
+    TQSqlSelectCursor* cur = new TQSqlSelectCursor( "SELECT id, firstname, lastname FROM author" );
+    TQDataTable* table = new TQDataTable( this );
+    table->setSqlCursor( cur, TRUE, TRUE );
+    table->refresh();
+    ...
+    cur->exec( "SELECT * FROM books" );
+    table->refresh();
+    ...
+    
+ +

See also Database Classes. + +


Member Function Documentation

+

TQSqlSelectCursor::TQSqlSelectCursor ( const TQString & query = TQString::null, TQSqlDatabase * db = 0 ) +

+Constructs a read only cursor on database db using the query query. + +

TQSqlSelectCursor::TQSqlSelectCursor ( const TQSqlSelectCursor & other ) +

Constructs a copy of other +

TQSqlSelectCursor::~TQSqlSelectCursor () +

Destroys the object and frees any allocated resources + +

+This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
TQt 3.3.8
+
+ -- cgit v1.2.1