summaryrefslogtreecommitdiffstats
path: root/ksmserver/shutdowndlg.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-21 06:59:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-21 06:59:16 +0000
commit759a6d228ec6111691d6c0b90c401c2ce82a4c59 (patch)
tree4108bef6edac00cde645afeb42a643ad33643a10 /ksmserver/shutdowndlg.h
parent48ead3b93b680035aaf14e3c75ff464d136b8f05 (diff)
downloadtdebase-759a6d228ec6111691d6c0b90c401c2ce82a4c59.tar.gz
tdebase-759a6d228ec6111691d6c0b90c401c2ce82a4c59.zip
Use shared root pixmap to paint smserver instead of external call to krootpixmap
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1254806 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmserver/shutdowndlg.h')
-rw-r--r--ksmserver/shutdowndlg.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ksmserver/shutdowndlg.h b/ksmserver/shutdowndlg.h
index 3cf9860a9..89f508602 100644
--- a/ksmserver/shutdowndlg.h
+++ b/ksmserver/shutdowndlg.h
@@ -16,7 +16,7 @@ Copyright (C) 2000 Matthias Ettrich <ettrich@kde.org>
#include <tqframe.h>
#include <kguiitem.h>
#include <tqtoolbutton.h>
-#include <ksharedpixmap.h>
+#include <krootpixmap.h>
class TQPushButton;
class TQVButtonGroup;
@@ -94,6 +94,7 @@ protected:
public slots:
void slotPaintEffect();
+ void slotSetBackgroundPixmap(const TQPixmap &);
private:
static KSMShutdownIPFeedback * s_pSelf;
@@ -102,10 +103,11 @@ private:
TQPixmap m_root;
void fadeBack( void );
void showNow( void );
- TQString pixmapName(int desk);
- void enableExports();
int m_timeout;
bool m_isPainted;
+ KRootPixmap* m_sharedRootPixmap;
+ TQPixmap m_rootPixmap;
+ int mPixmapTimeout;
};
// The confirmation dialog