[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    RE: kfiledialog bug?
From:       "Hummel, Timo" <timo.hummel () sap ! com>
Date:       2000-03-08 8:50:40
[Download RAW message or body]

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");
 kfile->setFilter("*.cpp|Sources (*.cpp)");


-----Original Message-----
From: teddyw@gmx.net [mailto:teddyw@gmx.net]
Sent: Wednesday, March 08, 2000 9:31 AM
To: kdevelop@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic