diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-10 22:32:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-10 22:32:00 +0000 |
commit | 1f40ada72d693d681ec6a32c2ef717e8dd73b5bb (patch) | |
tree | 54c647b881fd1f91a9cd4390237ec0a8888a8f34 /ksmserver/shutdowndlg.h | |
parent | 29570c5acb30252e5db7552b89150035bbdd9409 (diff) | |
download | tdebase-1f40ada72d693d681ec6a32c2ef717e8dd73b5bb.tar.gz tdebase-1f40ada72d693d681ec6a32c2ef717e8dd73b5bb.zip |
Force windows with the modal system notification atom set to stay above other windows
Enhance logout sequence appearance
Add remote folder synchronization on logout support
Fix flickering to black window with subsequent partial repaint of certain widgets occurring during fancy logout sequence
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1252640 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmserver/shutdowndlg.h')
-rw-r--r-- | ksmserver/shutdowndlg.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ksmserver/shutdowndlg.h b/ksmserver/shutdowndlg.h index 72db4b1b1..7ba93401f 100644 --- a/ksmserver/shutdowndlg.h +++ b/ksmserver/shutdowndlg.h @@ -87,11 +87,12 @@ public: static void showit() { if ( s_pSelf != 0L ) s_pSelf->showNow(); } static void stop() { if ( s_pSelf != 0L ) s_pSelf->fadeBack(); delete s_pSelf; s_pSelf = 0L; } static KSMShutdownIPFeedback * self() { return s_pSelf; } + static bool ispainted() { if ( s_pSelf != 0L ) return s_pSelf->m_isPainted; else return false; } protected: ~KSMShutdownIPFeedback(); -private slots: +public slots: void slotPaintEffect(); private: @@ -104,6 +105,7 @@ private: TQString pixmapName(int desk); void enableExports(); int m_timeout; + bool m_isPainted; }; // The confirmation dialog @@ -139,12 +141,13 @@ private: }; // The shutdown-in-progress dialog -class KSMShutdownIPDlg : public TQDialog +class KSMShutdownIPDlg : public TQWidget { Q_OBJECT public: static TQWidget* showShutdownIP(); + void setStatusMessage(TQString message); protected: ~KSMShutdownIPDlg(); @@ -154,6 +157,7 @@ protected slots: private: KSMShutdownIPDlg( TQWidget* parent ); + TQLabel* m_statusLabel; }; class KSMDelayedPushButton : public KPushButton |