Select a directory with KFileWidget?

Rafael Fernández López ereslibre at kde.org
Fri Jan 9 21:14:48 GMT 2009


Hi,

> Does that make sense? I can probably come up with the patch...

Yes, just look at KFile:: values. You can OR them, something like:

fileWidget->setMode(KFile::Files | KFile::Directory);

if I remember correctly.


Regards,
Rafael Fernández López.






More information about the kde-core-devel mailing list