/***************************************************************************
                            kde_KFileDetailView.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KFILEDETAILVIEW
#define KDE_KFILEDETAILVIEW

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 A list-view capable of showing @ref KFileItem'. Used in the filedialog
 for example. Most of the documentation is in @ref KFileView class.

 @short 
 A list-view capable of showing @ref KFileItem'.
*/
kde_KFileDetailView * kde_new_KFileDetailView(qt_QWidget * parent, char* name);
void kde_del_KFileDetailView( kde_KFileDetailView* p );
qt_QWidget * kde_KFileDetailView_widget(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_clearView(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_setAutoUpdate(kde_KFileDetailView* instPointer,int arg1);
void kde_KFileDetailView_setSelectionMode(kde_KFileDetailView* instPointer,int sm);
void kde_KFileDetailView_updateView(kde_KFileDetailView* instPointer,int arg1);
void kde_KFileDetailView_updateView1(kde_KFileDetailView* instPointer,kde_KFileItem* arg1);
void kde_KFileDetailView_removeItem(kde_KFileDetailView* instPointer,kde_KFileItem* arg1);
void kde_KFileDetailView_listingCompleted(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_setSelected(kde_KFileDetailView* instPointer,kde_KFileItem* arg1, int arg2);
int kde_KFileDetailView_isSelected(kde_KFileDetailView* instPointer,kde_KFileItem* i);
void kde_KFileDetailView_clearSelection(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_selectAll(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_invertSelection(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_setCurrentItem(kde_KFileDetailView* instPointer,kde_KFileItem* arg1);
kde_KFileItem* kde_KFileDetailView_currentFileItem(kde_KFileDetailView* instPointer);
kde_KFileItem* kde_KFileDetailView_firstFileItem(kde_KFileDetailView* instPointer);
kde_KFileItem* kde_KFileDetailView_nextItem(kde_KFileDetailView* instPointer,kde_KFileItem* arg1);
kde_KFileItem* kde_KFileDetailView_prevItem(kde_KFileDetailView* instPointer,kde_KFileItem* arg1);
void kde_KFileDetailView_insertItem(kde_KFileDetailView* instPointer,kde_KFileItem* i);
void kde_KFileDetailView_setSorting(kde_KFileDetailView* instPointer,int arg1);
void kde_KFileDetailView_ensureItemVisible(kde_KFileDetailView* instPointer,kde_KFileItem* arg1);
void kde_KFileDetailView_mimeTypeDeterminationFinished(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_determineIcon(kde_KFileDetailView* instPointer,kde_KFileListViewItem* item);
qt_QScrollView* kde_KFileDetailView_scrollWidget(kde_KFileDetailView* instPointer);
void kde_KFileDetailView_slotSelectionChanged(kde_KFileDetailView* instPointer);

/** Casts a 'kde_KFileDetailView *' to a 'kde_KFileView*' */
kde_KFileView* kde_KFileDetailView_KFileView(kde_KFileDetailView* instPointer);

/** Casts a 'kde_KFileDetailView *' to a 'kde_KListView*' */
kde_KListView* kde_KFileDetailView_KListView(kde_KFileDetailView* instPointer);

#endif
