From 759a6d228ec6111691d6c0b90c401c2ce82a4c59 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 21 Sep 2011 06:59:16 +0000 Subject: 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 --- ksmserver/shutdowndlg.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ksmserver/shutdowndlg.h') 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 #include #include #include -#include +#include 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 -- cgit v1.2.1