[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Wrapping Poppler Qt4 with SIP
From: Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date: 2007-02-24 18:09:43
Message-ID: 200702241809.43439.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]
On Saturday 24 February 2007 5:39 pm, Rajeev J Sebastian wrote:
> Hello Phil,
>
> Currently, the bindings work fine.
>
> I have to do something like
>
> doc = QtPoppler.Poppler.Document.load(<path>)
>
> Does the .Poppler comes as a result of the namespace ?
Yes.
> Is there some
> way to get rid of that ? I would like an interface like
> QtPoppler.Document.load(<path>)
The only way I can think of is to call your module something else (eg.
_QtPoppler) and have a QtPoppler.py file that does something like...
from _QtPoppler.Poppler import *
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic