diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-21 06:59:16 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-21 06:59:16 +0000 |
commit | 759a6d228ec6111691d6c0b90c401c2ce82a4c59 (patch) | |
tree | 4108bef6edac00cde645afeb42a643ad33643a10 /ksmserver/shutdowndlg.h | |
parent | 48ead3b93b680035aaf14e3c75ff464d136b8f05 (diff) | |
download | tdebase-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.h | 8 |
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 <[email protected]> #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 |