/***************************************************************************
                            kde_KFileFilterCombo.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_KFILEFILTERCOMBO
#define KDE_KFILEFILTERCOMBO

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

kde_KFileFilterCombo * kde_new_KFileFilterCombo(qt_QWidget * parent, char* name);
void kde_del_KFileFilterCombo( kde_KFileFilterCombo* p );
void kde_KFileFilterCombo_setFilter(kde_KFileFilterCombo* instPointer,qt_QString * filter);

/** 

*/
qt_QString * kde_KFileFilterCombo_currentFilter(kde_KFileFilterCombo* instPointer);

/** 
 Sets a list of mimetypes.
 If @p defaultType is set, it will be set as the current item.
 Otherwise, a first item showing all the mimetypes will be created.
     
*/
void kde_KFileFilterCombo_setMimeFilter(kde_KFileFilterCombo* instPointer,qt_QStringList* types, qt_QString * defaultType);

/** 

*/
int kde_KFileFilterCombo_showsAllTypes(kde_KFileFilterCombo* instPointer);

/** 
 This method allows you to set a default-filter, that is used when an
 empty filter is set. Make sure you call this before calling
 @ref setFilter().

 By default, this is set to i18n("*|All Files")

*/
void kde_KFileFilterCombo_setDefaultFilter(kde_KFileFilterCombo* instPointer,qt_QString * filter);

/** 

*/
qt_QString * kde_KFileFilterCombo_defaultFilter(kde_KFileFilterCombo* instPointer);
int kde_KFileFilterCombo_eventFilter(kde_KFileFilterCombo* instPointer,qt_QObject * o, qt_QEvent * e);

#endif
