[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How to make KatePart open non-local files?
From: Andras Mantia <amantia () kde ! org>
Date: 2006-07-17 19:59:13
Message-ID: 200607172259.18370.amantia () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 17 July 2006 21:52, Timo Rothenpieler wrote:
> Am 17.07.2006, 19:58 Uhr, schrieb Andras Mantia <amantia@kde.org>:
> > On Monday 17 July 2006 18:07, Timo Rothenpieler wrote:
> >> It works fine now, but now id'd like to know, how i can get the
> >> Path of the document, KatePart has opened?
> >> I can only read the filename from Kate::Document::docName().
> >
> > I still don't get why you use Kate::Document instead of
> > KTextEditor::Document...
>
> I use it because it includes all functions from the
> KTextEditor::*Interface clases.
But your application will depend on kdebase instead of kdelibs only.
> >> But i'd like to get the URL in the format of KURL::prettyURL().
> >
> > KTextEditor::Document::url(). Easy, straightforward.
>
> Thanks! But, where did you find this? I searched for it over a week!
In the KTextEditor API documentation. :-)
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
[Attachment #5 (application/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