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

List:       kde-devel
Subject:    Re: kaboodle bug (Re: Problem when embedding ReadOnly parts)
From:       Björn Sahlström <kbjorn () users ! sourceforge ! net>
Date:       2002-09-02 23:30:19
[Download RAW message or body]

On Saturday 20 July 2002 01.12, Neil Stevens wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday July 19, 2002 04:06, David Faure wrote:
> > In any case - Neil, you need to store a separate pointer to the
> > aboutdata, I'd say.
> 
> OK.  I'll read the above two mails a few more times and understand them.
> This is the last bit of code I was given from Niko that hasn't been
> rewritten. :-)
> 

Hi it's me, I'm back to bug you again ;)
Now I returned to CVS HEAD again and the Kaboodle part doesn't work again when \
clicking on a mp3 file when embedding is choosen. This time not even in Konqueror. se \
dbug output at bottom of mail I attach a patch that fix it, at least it works for me \
know.  But there is another problem too. It seems as the part doesn't emit the \
signals: KParts::ReadOnlyPart::started and KParts::ReadOnlyPart::completed
which are necessary for me. 

Here is the debug output:
[bjorn@localhost bjorn]$ konqueror: emit m_extension->openURLRequest( \
file:/home/bjorn/Jorn%20-%20Christine.mp3,audio/x-mp3) kdecore (KLibLoader): WARNING: \
KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: init_kparts_kaboodle \
kdecore (KLibLoader): WARNING: KLibrary: The library kparts_kaboodle does not offer \
                an init_kparts_kaboodle function
konqueror: NSPluginLoader::instance -> 1

-- 
MVH
Björn Sahlström
kbjorn@users.sourceforge.net


["kaboodle.patch" (text/x-diff)]

Index: kaboodle_factory.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/kaboodle/kaboodle_factory.cpp,v
retrieving revision 1.15
diff -u -r1.15 kaboodle_factory.cpp
--- kaboodle_factory.cpp	20 Jul 2002 05:06:43 -0000	1.15
+++ kaboodle_factory.cpp	2 Sep 2002 23:20:03 -0000
@@ -25,7 +25,7 @@
 #include "kaboodle_factory.h"
 #include "player.h"
 
-K_EXPORT_COMPONENT_FACTORY( kaboodlepart, Kaboodle::KaboodleFactory)
+K_EXPORT_COMPONENT_FACTORY( kparts_kaboodle, Kaboodle::KaboodleFactory)
 
 KInstance *Kaboodle::KaboodleFactory::s_instance = 0;
 KAboutData *Kaboodle::KaboodleFactory::s_aboutData = 0;

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