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

List:       pykde
Subject:    [PyQt] no KTextEditor HighlightInterface?
From:       Bernd Buschinski <b.buschinski () googlemail ! com>
Date:       2013-02-08 14:51:56
Message-ID: 7958630.KfZX19YxVZ () kuehlschrank
[Download RAW message or body]

Hello,

I just installed pyKDE 4.10 and wanted to port a tiny C++ programm to python.
But it seems pykde misses KTextEditor HighlightInterface? or am I just unabled 
to find it? Is there any reason why it misses this? or was it just forgotten?


In C++ I would do something like:

KTextEditor::HighlightInterface *iface =  
qobject_cast<KTextEditor::HighlightInterface*>( doc );


to get the HighlightInterface, I don't even know how to do a qobject_cast in 
pyQt yet, but seems like the missing HighlightInterface is the first problem.

it would be very helpful if you can clarify this,

Bernd Buschinski
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic