class KFileFilter


Definition#include <kfilefilter.h>
InheritsKComboBox (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Members


Detailed Description

 KFileFilter (QWidget *parent= 0, const char *name= 0)

KFileFilter

 ~KFileFilter ()

~KFileFilter

void  setFilter (const QString& filter)

setFilter

QString  currentFilter ()

currentFilter

[const]

Returns: the current filter, either something like "*.cpp *.h" or the current mimetype, like "text/html", or a list of those, like " "text/html text/plain image/png", all separated with one space.

void  setMimeFilter ( const QStringList& types, const QString& defaultType )

setMimeFilter

Set a list of mimetypes. If defaultType is set, it will be set as the current item. Otherwise, a first item showing all the mimetypes will be created.

bool  showsAllTypes ()

showsAllTypes

[const]

Returns: true if the filter's first item is the list of all mimetypes

bool  eventFilter ( QObject *o, QEvent *e )

eventFilter

[protected virtual]

Reimplemented from KComboBox.

QStringList filters

filters

[protected]

bool m_allTypes

m_allTypes

[protected]

void  filterChanged ()

filterChanged

[signal]


Generated by: dfaure on kde.faure.org on Thu Jan 17 22:17:38 2002, using kdoc 2.0a53.