How do I save a text in a file?

Ralf Nolden nolden at
Fri Jun 1 17:30:56 UTC 2001

francesco wrote:
> I'm trying to connect a button to a KFileDialog in order to save text in a
> KTextview to a file.
> I know how to do it with QT ( their docs are so exhaustive ) but not with the
> KDE look.
> Can anybody help me?

Hi Francesco,

should be fairly easy, just have a look at the template for a kde normal
app in kdevelop 1.4. Besides the dialog, you should use KIO´s
NetAccess::upload() method but I think the template already covers this. 


KDE 2 - Trust I seek and I find in You, 
everyday for a something new, 
open mind for a different view, 
and nothing else matters....
Ralf Nolden
nolden at

The K Desktop Environment	The KDevelop Project

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list