damn, it was a (insert very offensive phrase here) typo! see the
posted code again...
On Mon, Oct 08, 2007 at 05:21:13PM -0700, Jim Bublitz wrote:
> because (from the KDE API docs):
Yes, I knew that, that's why I searched for the alternative and
found KIO.NetAccess.mimetype.
> So PyKDE
On Monday 08 October 2007 16:16, Marcos Dione wrote:
Running this:
from kdecore import *
from kio import *
from kparts import *
import sys
KCmdLineArgs.init (sys.argv, sys.argv[0], "testmime", "", "")
args= KCmdLineArgs.parsedArgs ()
app= KApplication ()
#app.exec_loop ()
for u in ('http://api.
On Mon, Oct 08, 2007 at 09:38:21AM -0700, Jim Bublitz wrote:
> I'm using KIO.NetAccess.mimeType in a PyKDE4 application and it works fine
> there - there could be some difference to the PyKDE 3 version. It would help
> if you'd provide a short example program that exhibits the problem so I can
>
On Monday 08 October 2007 07:41, Marcos Dione wrote:
> hi all. I've been playing with kparts a little and now I hit a wall.
> I try to load the proper part for a given url. the code I have looks
> like this:
>
>
> mime= KMimeType.findByURL(url, 0, False, False)
> mimeType= mime.name ()
> # this
hi all. I've been playing with kparts a little and now I hit a wall.
I try to load the proper part for a given url. the code I have looks
like this:
mime= KMimeType.findByURL(url, 0, False, False)
mimeType= mime.name ()
# this trick I saw in
#
http://lxr.kde.org/source/KDE/kdegraphics/kuic