/***************************************************************************
                            QFileInfo.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 QFILEINFO_H
#define QFILEINFO_H

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

@interface  QFileInfo : NSObject <QtSupport>
{
@private
	void * _qt;
	BOOL  _allocatedInObjcWorld;
}
- init;
- initWithText: (NSString *)file;
- initWithFile: (QFile *)arg1;
- initWithDir: (QDir *)arg1 fileName: (NSString *)fileName;
- copyWithZone: (NSZone *) zone;
- (void) dealloc;
- setFileWithName: (NSString *)file;
- setFileWithFile: (QFile *)arg1;
- setFileWithDirectory: (QDir *)arg1 fileName: (NSString *)fileName;
- (BOOL) exists;
- refresh;
- (BOOL) caching;
- setCaching: (BOOL)arg1;
- (NSString *) filePath;
- (NSString *) fileName;
- (NSString *) absFilePath;
- (NSString *) baseName: (BOOL)complete;
- (NSString *) extension: (BOOL)complete;
- (NSString *) dirPath: (BOOL)absPath;
- (QDir*) dir: (BOOL)absPath;
- (QDir*) dir;
- (BOOL) isReadable;
- (BOOL) isWritable;
- (BOOL) isExecutable;
- (BOOL) isRelative;
- (BOOL) convertToAbs;
- (BOOL) isFile;
- (BOOL) isDir;
- (BOOL) isSymLink;
- (NSString *) readLink;
- (NSString *) owner;
- (unsigned int) ownerId;
- (NSString *) group;
- (unsigned int) groupId;
- (BOOL) permission: (int)permissionSpec;
- (unsigned int) size;
- (NSDate *) created;
- (NSDate *) lastModified;
- (NSDate *) lastRead;
+ (int) ReadUser;
+ (int) WriteUser;
+ (int) ExeUser;
+ (int) ReadGroup;
+ (int) WriteGroup;
+ (int) ExeGroup;
+ (int) ReadOther;
+ (int) WriteOther;
+ (int) ExeOther;
@end

#endif
