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

List:       kde-devel
Subject:    Re: embedding a KPart in Konqueror
From:       Sean McGlynn <sean () tmiau ! com>
Date:       2002-06-01 16:10:23
[Download RAW message or body]

Hello Shaun,

Did you read David Faure's recent tutorial which covers what you probably 
want? It's online at

http://www-105.ibm.com/developerworks/education.nsf/linux-onlinecourse-bytitle/A96500917FA1DB0786256BC000808C0F?Open&t=grl,l=994,p=kparts


There's a very quick registration and you can then read it online or download 
it.

Cheers,
Sean

On Saturday 01 June 2002 07:02, 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.
> 
> 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 <<

-- 
Sean McGlynn
sean@tmiau.com
 
> > 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