/***************************************************************************
                            QSqlRecord.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 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 QSQLRECORD_H
#define QSQLRECORD_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QtSupport.h>

@class QSqlField; 
@class QString; 
@class QVariant; 

@interface  QSqlRecord : NSObject <QtSupport>
{
@private
	void * _qt;
	BOOL  _allocatedInObjcWorld;
}
- init;
- copyWithZone: (NSZone *) zone;
- (void) dealloc;
- (QVariant*) value: (int)i;
- (QVariant*) valueForName: (NSString *)name;
- setValue: (int)i val: (QVariant *)val;
- setValueForName: (NSString *)name val: (QVariant *)val;
- (BOOL) isGenerated: (int)i;
- (BOOL) isGeneratedForName: (NSString *)name;
- setGeneratedForName: (NSString *)name generated: (BOOL)generated;
- setGenerated: (int)i generated: (BOOL)generated;
- setNull: (int)i;
- setNullForName: (NSString *)name;
- (BOOL) isNull: (int)i;
- (BOOL) isNullForName: (NSString *)name;
- (int) positionForName: (NSString *)name;
- (NSString *) fieldName: (int)i;
- (QSqlField*) field: (int)i;
- (QSqlField*) fieldForName: (NSString *)name;
- (QSqlField*) field: (int)i;
- (QSqlField*) fieldForName: (NSString *)name;
- append: (QSqlField*)field;
- insert: (int)pos field: (QSqlField*)field;
- remove: (int)pos;
- (BOOL) isEmpty;
- (BOOL) contains: (NSString *)name;
- clear;
- clearValues: (BOOL)nullify;
- clearValues;
- (unsigned int) count;
- (NSString *) toString: (NSString *)prefix seperator: (NSString*) string;
- (NSArray *) toStringList: (NSString *)prefix;
@end

#endif
