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

List:       kde-devel
Subject:    Re: embedding a KPart in Konqueror
From:       Robert Charbonneau <etriaph () kdesktop ! org>
Date:       2002-06-01 15:17:54
[Download RAW message or body]

On June 1, 2002 02:02 am, Shaun Jackman wrote:
> I created a KPart using kapptemplate. It is an id3 tag editor. It
> works fine in the little shell app that kapptemplate creates. When I
> try to use my part in Konqueror though, it crashes. My part inherits
> from ReadWritePart. Is there anything else special I have to do to
> make the part work with Konqueror? I've included my .desktop file and
> the backtrace.

I'm pretty sure you have to create a Konqueror plugin that uses your KPart.  A 
KPart is just a way of reusing a widget, it's not an automatically embeddable 
piece of software in Konqueror.

> Thanks for any help,
> Shaun
>
>
> [Desktop Entry]
> Name=Kid3Part
> MimeType=audio/mpeg
> ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
> X-KDE-Library=libkid3part
> Type=Service
>
>
> #0  0x40d58a39 in wait4 () from /lib/libc.so.6
> #1  0x40dcfe48 in __check_rhosts_file () from /lib/libc.so.6
> #2  0x4059d4d8 in KCrash::defaultCrashHandler () from
> /usr/lib/libkdecore.so.3
>
> #3  0x40ce16b8 in sigaction () from /lib/libc.so.6
> #4  0x407fcb5a in QObject::inherits () from /usr/lib/libqt.so.2
> #5  0x40f9c53e in KonqViewFactory::create () from
> /usr/lib/konqueror.so
> #6  0x40f90b9d in KonqFrame::attach () from /usr/lib/konqueror.so
> #7  0x40f7fe2b in KonqView::switchView () from /usr/lib/konqueror.so
> #8  0x40f8056d in KonqView::changeViewMode () from
> /usr/lib/konqueror.so
> #9  0x40f6b1c8 in KonqMainWindow::slotOpenEmbeddedDoIt ()
>    from /usr/lib/konqueror.so
> #10 0x407f548e in QObject::activate_signal () from /usr/lib/libqt.so.2
> #11 0x4082b6f9 in QSignal::activate () from /usr/lib/libqt.so.2
> #12 0x4083193f in QSingleShotTimer::event () from /usr/lib/libqt.so.2
> #13 0x4079cef7 in QApplication::notify () from /usr/lib/libqt.so.2
> #14 0x404f61f4 in KApplication::notify () from
> /usr/lib/libkdecore.so.3
> #15 0x407670ca in qt_activate_timers () from /usr/lib/libqt.so.2
> #16 0x40765029 in QApplication::processNextEvent () from
> /usr/lib/libqt.so.2
> #17 0x4079f3bf in QApplication::enter_loop () from /usr/lib/libqt.so.2
> #18 0x4076bf23 in QApplication::exec () from /usr/lib/libqt.so.2
> #19 0x40f51265 in main () from /usr/lib/konqueror.so
> #20 0x0804cc96 in QCollection::newItem ()
> #21 0x0804d8b8 in QCollection::newItem ()
> #22 0x0804dd55 in QCollection::newItem ()
> #23 0x0804ed96 in QCollection::newItem ()
> #24 0x40cd114f in __libc_start_main () from /lib/libc.so.6
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
----------
"I could really use to lose my Catholic conscience,
 Cause I'm getting sick of feeling guilty all the time."
	- Great Big Sea, _Consequence_Free_

Robert Charbonneau
etriaph@kdesktop.org
----------

 
>> 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