/***************************************************************************
                            QTextStream.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 QTEXTSTREAM_H
#define QTEXTSTREAM_H

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

@class QTextCodec;
@class QIODevice;
@class QByteArray;

@interface  QTextStream : NSObject <QtSupport>
{
@private
	void * _qt;
	BOOL  _allocatedInObjcWorld;
}
- setEncoding: (int)arg1;
- setCodec: (QTextCodec*)arg1;
- init;
- initWithIODevice: (QIODevice *)arg1;
- initWithText: (NSString *)arg1 mode: (int)mode;
- initWithText: (NSString *)arg1 mode: (int)mode;
- initWithByteArray: (QByteArray*)arg1 mode: (int)mode;
- initWithFILE: (FILE*)arg1 mode: (int)mode;
- (void) dealloc;
- (QIODevice*) device;
- setDevice: (QIODevice *)arg1;
- unsetDevice;
- (BOOL) atEnd;
- (BOOL) eof;
- (QTextStream*) readRawBytes: (NSString *)arg1 len: (unsigned int)len;
- (QTextStream*) writeRawBytes: (NSString *)arg1 len: (unsigned int)len;
- (NSString *) readLine;
- (NSString *) read;
- skipWhiteSpace;
- (int) flags;
- (int) flags: (int)f;
- (int) setf: (int)bits;
- (int) setf: (int)bits mask: (int)mask;
- (int) unsetf: (int)bits;
- reset;
- (int) width;
- (int) width: (int)arg1;
- (int) fill;
- (int) fill: (int)arg1;
- (int) precision;
- (int) precision: (int)arg1;
+ (int) Locale;
+ (int) Latin1;
+ (int) Unicode;
+ (int) UnicodeNetworkOrder;
+ (int) UnicodeReverse;
+ (int) RawUnicode;
+ (int) UnicodeUTF8;
+ (int) skipws;
+ (int) left;
+ (int) right;
+ (int) internal;
+ (int) bin;
+ (int) oct;
+ (int) dec;
+ (int) hex;
+ (int) showbase;
+ (int) showpoint;
+ (int) uppercase;
+ (int) showpos;
+ (int) scientific;
+ (int) fixed;
@end

#endif
