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

List:       kde-devel
Subject:    Re: KFileDialog
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2002-08-29 10:11:21
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 29 August 1999 02:02, hasanen wrote:
> hi
> i am trying to use KFileDialog with a filters but there is a problem.
>
> i can use getSaveFileName(....) as static slot , but the problem is how to
> know which filter the user choised ?

use the signal:

    void filterChanged( const QString& filter );

> next , i created an instance of the KFileDialog , but the currentFilter()
> don't return the selected filter.

when are you calling currentFilter()? before its shown? after the user has 
selected a file? after its shown but before a selection has been made? a code 
snippet would be handy here.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9bfNJ1rcusafx20MRAlTsAJ97dag+Es9rJ77jpajNkRPwzhx7DQCgjOlX
CUCchmDQPTvTBvExak+xNv4=
=whKU
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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