[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: KDirStat as a Konqueror View
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-09-26 8:31:44
[Download RAW message or body]

On Mercredi 26 Septembre 2001 05:36, Alexander Rawass wrote:
> On Wednesday 26 September 2001 04:05, I wrote:
> >
> > I am now trying to transform KDirStat
> > http://kdirstat.sourceforge.net/kdirstat from a normal application into a
> > KPart that can be used inside Konqueror.
> 
> I've now found out that I should use a KonqDirPart instead of a ReadWritePart?

It's either a KonqDirPart or a ReadOnlyPart that you should use.
(ReadWritePart are editors).
KonqDirPart is simply a few useful things, for directories, on top of ReadOnlyPart.

> Is there any documentation or tutorial available especially for KonqDirPart?

There's documentation - kdebase/libkonq/konq_dirpart.h, but no tutorial,
this is quite internal to konqueror views. Looking at the code, you'll see that
it's not very complex.

> Are there easy small examples for a KonqDirPart, other than those views in
> the konqueror source itself?

No.

> Ok, I've now created a /usr/share/services/konq_kdirstatview.desktop file and
> at least a button shows up - but it's not working yet, a dialog pops up:
> ---->
> There was an error loading the Module 'KdirStat View'
> The diagnostics is:
> <----
> 
> No diagnostics.

Hmm, I thought there was always one, nowadays (you're using VERY recent sources, right ?).
Anyway, start Konq from a terminal, and you'll see the error there. I guess you
have an undefined symbol in your lib.

> By the way, why can't I cut&paste the text in such an error dialog - I can't
> even select the text?
Dunno, ask Trolltech ;)
I'd like this too.

> dumb question: how do I turn on debugging messages for kde-apps - I've got no
> idea, I'm new to kde, please forgive me ;-)

Run kdebugdialog, and start apps from konsole.

David.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic