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

List:       kde-devel
Subject:    Re: problem with lockout in kdebase
From:       Warren Turkal <wturkal () cbu ! edu>
Date:       2001-11-01 5:33:45
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damn waiting. Here is the patch to make it compile under KDE3.  Also, 
you'll need to add lockout to the Makefile.am in 
kdebase/kicker/applets/Makefile.am and reconfigure.

This was generated with a diff -u. Is this the right way?
Warren

On Wednesday 31 October 2001 10:33 pm, Warren Turkal wrote:
> It turns out that the lockout applet is disabled in the Makefile.am.
> Is anyone working on porting this to QT3?
> Warren
>

- -- 
GPG Fingerprint: 30C8 BDF1 B133 14CB 832F  2C5D 99A1 A19F 559D 9E88
GPG Public Key @ http://www.cbu.edu/~wturkal/wturkal.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE74N67maGhn1WdnogRAgT6AJ93Taqa8SGUNvpjaipc3YuCqp/aHACdFHi1
2IHcjEd9OL6BMehvleQvC10=
=9Acm
-----END PGP SIGNATURE-----

["lockout.patch" (text/x-diff)]

Common subdirectories: pristine-kdebase/kicker/applets/lockout/CVS and \
                defiled-kdebase/kicker/applets/lockout/CVS
diff -u pristine-kdebase/kicker/applets/lockout/lockout.cpp \
                defiled-kdebase/kicker/applets/lockout/lockout.cpp
--- pristine-kdebase/kicker/applets/lockout/lockout.cpp	Tue Aug 21 18:36:53 2001
+++ defiled-kdebase/kicker/applets/lockout/lockout.cpp	Wed Oct 31 23:27:51 2001
@@ -24,6 +24,7 @@
 ******************************************************************/
 
 
+#include <qstyle.h>
 #include <qlayout.h>
 #include <qpainter.h>
 #include <qpixmap.h>
@@ -235,7 +236,11 @@
 {
     bool sunken = isDown();
 
-    style().drawPanel (p, 0, 0, width(), height(), colorGroup(), sunken, 1);
+    QPoint topLeftPt(0,0);
+    QSize size(width(), height());
+    QRect rect(topLeftPt, size);
+    
+    style().drawPrimitive (QStyle::PE_Panel, p, rect, colorGroup());
 
     if (sunken)
         p->translate(1,1);


>> 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