/***************************************************************************
                            qt_QSqlQuery.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QSQLQUERY
#define QT_QSQLQUERY

#include <qtc/qtc_types.h>

qt_QSqlQuery * qt_new_QSqlQuery(qt_QSqlResult* r);
qt_QSqlQuery * qt_new_QSqlQuery1(qt_QString * query, qt_QSqlDatabase* db);
qt_QSqlQuery * qt_new_QSqlQuery2(qt_QSqlQuery* other);
void qt_del_QSqlQuery( qt_QSqlQuery* p );
int qt_QSqlQuery_isValid(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_isActive(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_isNull(qt_QSqlQuery* instPointer,int field);
int qt_QSqlQuery_at(qt_QSqlQuery* instPointer);
qt_QString * qt_QSqlQuery_lastQuery(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_numRowsAffected(qt_QSqlQuery* instPointer);
qt_QSqlError* qt_QSqlQuery_lastError(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_isSelect(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_size(qt_QSqlQuery* instPointer);
qt_QSqlDriver* qt_QSqlQuery_driver(qt_QSqlQuery* instPointer);
qt_QSqlResult* qt_QSqlQuery_result(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_exec(qt_QSqlQuery* instPointer,qt_QString * query);
qt_QVariant * qt_QSqlQuery_value(qt_QSqlQuery* instPointer,int i);
int qt_QSqlQuery_seek(qt_QSqlQuery* instPointer,int i, int relative);
int qt_QSqlQuery_next(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_prev(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_first(qt_QSqlQuery* instPointer);
int qt_QSqlQuery_last(qt_QSqlQuery* instPointer);
void qt_QSqlQuery_beforeSeek(qt_QSqlQuery* instPointer);
void qt_QSqlQuery_afterSeek(qt_QSqlQuery* instPointer);

#endif
