You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Haystack

Beginner

  • "Haystack" started this thread

Posts: 2

Location: Utrecht

  • Send private message

1

Thursday, January 4th 2007, 6:15pm

Better konqueror integration of KParts

First: I want to apologize, the questions i'm gonna ask are pretty obvious. I can't imagine the requested information isn't in some kde doc, but for some reason I spent a long time on kde.org and google, and there is absolutely NO way to find an answer, just doics about kpart for devs. If there is, I'll fill in a bug report about the kde community being not structured enough :)

And now:

I want my kde applications being more integrated to konqueror. I know there is kpart for this.
In the dialog "Settings" -> "Configure Konqueror" -> "File Associations" -> "All" I told kde to embed everything. Very Nice! But I'm not yet satisfied. I hoped my file-browsing experience were enhanced in this way:

-a "playlist view" from kaffeine while browsing mp3's
-a "photo album view" while browsing pics (I don't want to generate index.html's for that.. i want it to be *ahum* windows-explorer-like... aiaiai)
-maybe more integration? (KTorrent, KWrite/Kate, Kerry)

I can't imagine such a thing isn't possible (If it works for KPDF why not for other things?), so my questions is:

How to accomplish this?

Thank you very much.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Thursday, January 4th 2007, 6:20pm

RE: Better konqueror integration of KParts

If you want a arbitrary application embedded inside Konqueror you should dive into the source and make KParts of them. But I wonder how useful it is to make KTorrent a KPart, I fail to see why.

Run

Source code

1
$ ktradertest KParts/ReadOnlyPar

which KParts are available to embed inside Konqueror.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

Haystack

Beginner

  • "Haystack" started this thread

Posts: 2

Location: Utrecht

  • Send private message

3

Thursday, January 4th 2007, 7:01pm

RE: Better konqueror integration of KParts

Quoted

Originally posted by bram85
But I wonder how useful it is to make KTorrent a KPart, I fail to see why.


Well.. maybe not really useful, but I like to load ktorrent in a new tab when I click a torrent. (Same applies to KGet btw)

Source code

1
2
3
4
5
6
7
$ ktradertest KParts/ReadOnlyPar
query is : KParts/ReadOnlyPar
genericServiceType is :
constraint is :
preference is :
kio (KMimeType): WARNING: KServiceType::offers : servicetype KParts/ReadOnlyPar not found
got 0 offers.


I'm not a really good coder btw, so writing it myself is not really an option :)

This post has been edited 1 times, last edit by "Haystack" (Jan 4th 2007, 7:04pm)


bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

4

Friday, January 5th 2007, 9:05pm

RE: Better konqueror integration of KParts

I made a typo. It should have been:

Source code

1
$ ktradertest KParts/ReadOnlyPart
Bram Schoenmakers
KDE Netherlands (www.kde.nl)