summaryrefslogtreecommitdiffstats
path: root/kdesktop/bgmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-19 04:34:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-19 04:34:32 +0000
commitb0abae5b66b2775ba150070b70b639cd88cf62b3 (patch)
treec16ce7c621bd6f12b30131f2edc08ef87ab2155e /kdesktop/bgmanager.h
parent387117c2446a397a42698e9d8cfdf9ff1f371c96 (diff)
downloadtdebase-b0abae5b66b2775ba150070b70b639cd88cf62b3.tar.gz
tdebase-b0abae5b66b2775ba150070b70b639cd88cf62b3.zip
KDEDIR ordering repair
Added true transparency support to kdesktop git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1116291 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/bgmanager.h')
-rw-r--r--kdesktop/bgmanager.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kdesktop/bgmanager.h b/kdesktop/bgmanager.h
index 53787e501..455e3a3ad 100644
--- a/kdesktop/bgmanager.h
+++ b/kdesktop/bgmanager.h
@@ -15,6 +15,10 @@
#include <KBackgroundIface.h>
+#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
+#define COMPOSITE
+#endif
+
class KConfig;
class QTimer;
class QPixmap;
@@ -84,6 +88,10 @@ private slots:
void desktopResized();
void clearRoot();
void saveImages();
+
+#ifdef COMPOSITE
+ void slotCmBackgroundChanged(bool);
+#endif
private:
void applyCommon(bool common);
@@ -116,6 +124,10 @@ private:
QWidget *m_pDesktop;
QTimer *m_pTimer;
+#ifdef COMPOSITE
+ KPixmap *m_tPixmap;
+#endif
+
QPtrVector<KVirtualBGRenderer> m_Renderer;
QPtrVector<KBackgroundCacheEntry> m_Cache;