/***************************************************************************
                            KFile.m -  description
                             -------------------
    begin                : Fri Mar  8 13:55:08 2002
    copyright            : (C) 2000-2002 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Fri Mar  8 13:55:08 2002, 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.                       *
 *                                                                         *
 ***************************************************************************/

#include <qtc/qt_QString.h>
#include <qtc/qt_QCString.h>
#include <kdec/kde_KFile.h>
#include <kdeobjc/KDESupport.h>
#include <kdeobjc/KFile.h>

@implementation  KFile

- (void *) qt
{
	return _qt;
}

- setQt: (void *) qt
{
	_qt = qt;
	return self;
}

- (BOOL) allocatedInObjcWorld
{
	return _allocatedInObjcWorld;
}

- setAllocatedInObjcWorld: (BOOL) yn
{
	_allocatedInObjcWorld = yn;
	return self;
}


+ (BOOL) isSortByName: (int)sort
{
	return (BOOL) kde_KFile_isSortByName((int)sort);
}

+ (BOOL) isSortBySize: (int)sort
{
	return (BOOL) kde_KFile_isSortBySize((int)sort);
}

+ (BOOL) isSortByDate: (int)sort
{
	return (BOOL) kde_KFile_isSortByDate((int)sort);
}

+ (BOOL) isSortDirsFirst: (int)sort
{
	return (BOOL) kde_KFile_isSortDirsFirst((int)sort);
}

+ (BOOL) isSortCaseInsensitive: (int)sort
{
	return (BOOL) kde_KFile_isSortCaseInsensitive((int)sort);
}

+ (BOOL) isDefaultView: (int)view
{
	return (BOOL) kde_KFile_isDefaultView((int)view);
}

+ (BOOL) isSimpleView: (int)view
{
	return (BOOL) kde_KFile_isSimpleView((int)view);
}

+ (BOOL) isDetailView: (int)view
{
	return (BOOL) kde_KFile_isDetailView((int)view);
}

+ (BOOL) isSeparateDirs: (int)view
{
	return (BOOL) kde_KFile_isSeparateDirs((int)view);
}

+ (BOOL) isPreviewContents: (int)view
{
	return (BOOL) kde_KFile_isPreviewContents((int)view);
}

+ (int) File
{
	return (int) KFILE_File;
}

+ (int) Directory
{
	return (int) KFILE_Directory;
}

+ (int) Files
{
	return (int) KFILE_Files;
}

+ (int) ExistingOnly
{
	return (int) KFILE_ExistingOnly;
}

+ (int) LocalOnly
{
	return (int) KFILE_LocalOnly;
}

+ (int) Default
{
	return (int) KFILE_Default;
}

+ (int) Simple
{
	return (int) KFILE_Simple;
}

+ (int) Detail
{
	return (int) KFILE_Detail;
}

+ (int) SeparateDirs
{
	return (int) KFILE_SeparateDirs;
}

+ (int) PreviewContents
{
	return (int) KFILE_PreviewContents;
}

+ (int) PreviewInfo
{
	return (int) KFILE_PreviewInfo;
}

+ (int) Single
{
	return (int) KFILE_Single;
}

+ (int) Multi
{
	return (int) KFILE_Multi;
}

+ (int) Extended
{
	return (int) KFILE_Extended;
}

+ (int) NoSelection
{
	return (int) KFILE_NoSelection;
}

@end
