kfiledialog bug?

Hummel, Timo timo.hummel at sap.com
Wed Mar 8 08:50:40 UTC 2000

>From the documentation to KFileDialog:

Set the filter to be used to filter. 

You can set more filters for the user to select seperated by '\n'. Every
filter entry is defined through namefilter|text to diplay. If no | is found
in the expression, just the namefilter is shown. Examples: 

 kfile->setFilter("*.cpp|C++ Source Files\n*.h|Header files");
 kfile->setFilter("*.cpp|Sources (*.cpp)");

-----Original Message-----
From: teddyw at gmx.net [mailto:teddyw at gmx.net]
Sent: Wednesday, March 08, 2000 9:31 AM
To: kdevelop at barney.cs.uni-potsdam.de
Subject: kfiledialog bug?

How can i use two or more filters in getOpenFileName-function generated by
KDevelop 1.1? The separation by space, as in the documentation said, doesn't
seem to work, e.g. i18n("*|All files *.cpp|CPP files").

Sent through GMX FreeMail - http://www.gmx.net

More information about the KDevelop mailing list