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

List:       kde-devel
Subject:    Re: keramik style under pure Qt
From:       Kuba Ober <kuba () mareimbrium ! org>
Date:       2002-11-27 21:11:00
[Download RAW message or body]

On środa 27 listopad 2002 01:03 pm, you wrote:
> Kuba Ober wrote:
> > Hi,
> >
> > I'm trying to get keramik from kde 3.0.3 to work under bare qt.
>
> There is no such thing.  I'd advise you to use the version from HEAD or
> 3.1, and not unofficial forks of immature CVS snapshots/pre-alpha CVS
> snapshots themselves... The code has changed enough to make supporting
> unreleased versions simply impossible. However, roughly, sounds like image
> embedding got screwed up (and I can't tell any more than that, since old
> versions used a different embedding tool from modern ones)

Okay, will try that and report what's up.

There may be one simple thing to fix to make it more portable (basing on my 
somewhat outdates sources), notably

in libkdebase/kdefx/kstyle.cpp
in TransparencyHandler::eventFilter(QObject*, QEvent*)
there's such a gizmo

        pix = QPixmap::grabWindow(qt_xrootwin(),
                p->x(), p->y(), p->width(), p->height());

I wonder whether could it be rewritten as
        pix = QPixmap::grabWindow(QApplication::desktop()->winId(),
                p->x(), p->y(), p->width(), p->height());

so that it would (hopefully) work on all platforms out of the box.

Cheers, Kuba Ober
 
>> 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