diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/examples/book/book2/book.ui.h')
-rw-r--r-- | tqtinterface/qt4/tools/designer/examples/book/book2/book.ui.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tqtinterface/qt4/tools/designer/examples/book/book2/book.ui.h b/tqtinterface/qt4/tools/designer/examples/book/book2/book.ui.h deleted file mode 100644 index 3295581..0000000 --- a/tqtinterface/qt4/tools/designer/examples/book/book2/book.ui.h +++ /dev/null @@ -1,10 +0,0 @@ -void BookForm::primeInsertAuthor( TQSqlRecord * buffer ) -{ - TQSqlQuery query; - query.exec( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='author';" ); - query.exec( "SELECT sequence FROM sequence WHERE tablename='author';" ); - if ( query.next() ) { - buffer->setValue( "id", query.value( 0 ) ); - } -} - |