PATCH: KFileDialog and Password caching

Carsten Pfeiffer carpdjih at mailbox.tu-berlin.de
Tue Dec 31 02:05:54 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Tuesday 31 December 2002 02:37, Dawit A. wrote:

> Nope.  It would work fine with "this" as well.  However, the cached
> password will be removed as soon as the last window referencing it is
> closed.  In this case it would be when you close the file widget after
> using it.  That defeats the purpose of having the password cache since you
> would probably want to cache it for the lifetime of the application.  So I
> simply assumed that if I use topLevelWidget (),  I would get the container
> the KFileDialog widget. And even if that is not the case,  I would end up
> with "this" :)

Ah, thanks for explaining this. What about QApplication::mainWidget() then?

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPhD7gqWgYMJuwmZtAQHeQwf+NGy/H0VUExkIbdj95D0pkKpRtLcNNR54
tD00RZrqy3ncoXmfTqttDr4PDwRz5PUlKG+g7aRcbdTI9u5WV2udMr09zY4VrvpM
AZvXimvVlWS3N4jXkRd7YPrK7SfzJjEvMYksMP9hBIl1C4qvY/mUFsZFziTCDSXI
+/PM6nTb4oMeyUWjPuTw4utscp5X1+V97fFud7aq/iz1B2SybIYeoWFMiQM+stw1
ljXArrNtiUkSiw1lFGV7GBbosWcBvid2smOeM9/ND073+Xrf6uXStYtHMDxgUXWw
nrIZ/e4aCN1Ve+71Jd7nuFN2QQMh4bsCeHaETs0Fv2DRTaBUj2OY2w==
=e2K9
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list