KIO Error Handling update
David Faure
david at mandrakesoft.com
Tue Apr 16 14:10:33 BST 2002
On Tuesday 16 April 2002 14:36, Hamish Rodda wrote:
> I'm now using qt's inherits() method, because I realised I was in a Job class
> when we call the error routine. I'm just sorting out some small details now,
> and giving it some testing.
OK.
> >> * Add support for exec:/ URLs (any pointers for where to start -
> >> did KActiveLabel get this functionality yet?)
> >
> >Yes.
> >kactivelabel.cpp-void KActiveLabel::openLink(const QString & link)
> >kactivelabel.cpp-{
> >kactivelabel.cpp- QStringList args;
> >kactivelabel.cpp- args << "exec" << link;
> >kactivelabel.cpp: kapp->kdeinitExec("kfmclient", args);
> >kactivelabel.cpp-}
>
> Ok; where would I add this capability to khtml (for error pages only, of
> course)?
In Job::showErrorDialog(), I'd call whichever method of KMessageBox
allows links to be clicked.
--
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
More information about the kfm-devel
mailing list