[Kwintv] [PATCH] New DCOP methods

Dirk Ziegelmeier dziegel at gmx.de
Wed Jun 2 19:35:09 CEST 2004


On Tuesday 01 June 2004 20:22, Andras Mantia wrote:
> Hi,
>
>  I recently built an IR receiver so I'm playing now with KdeTV using a
> remote control. ;-) So far so good, but I missed the possibility to
> modify the brightness and contrast. This patch adds four DCOP methods
> to solve this issue. It works, but I haven't committed directly as you
> may find a better way to do (especially regarding the stepping/limits)
> and maybe you don't like the DCOP method names. Would be nice as well
> if the methods would appear in the Remote Control configuration.
>  A method to reset everything to the default/saved values would be also
> nice.
>  Furthermore OSD for brightness/contrast/etc. level would increase the
> usability.
>  Of course per-channel setting is the best. ;-)
I basically have no objections. I'll extend it to work with color, hue and 
whiteness, too. And add it to the kdelirc profile.

Other whishes: -> TODO list.

Maybe you can help me with some strange bug I've been struggling with. The xml 
channel format plugin saves the channel file in XML, encoded in UTF-8. But 
when I read it again, the Qt XML parser seems to interpret the content as 
iso8859-1 which effectivly messes up all local characters in it (german 
Umlauts et al.). A processing information is add to the file 
(encoding="UTF-8"). The strange thing about it is, it worked with my old SuSE 
8.2 (upgraded to KDE 3.2.2) but not with my new SuSE 9.1 (also upgraded to 
3.2.2, always using original SuSE packages). But for both distros, Qt and KDE 
versions are exactly the same...
Do you have an idea?

Also, I have problems regarding OpenGL. I tried to make the OpenGL display 
mode of kdetv more Qt-like by using the QGLWidget, but it didn't work. So I 
reverted everything to the previous state and found out it does not work, 
too. The precompiled Qt OpenGL examples work, but when I recompile them, they 
also stop working. So again something with my SuSE 9.1... I checked the web 
for it, but found no hint. Any suggstions or someone I can ask? 

Dirk



More information about the kwintv mailing list