summaryrefslogtreecommitdiffstats
path: root/ksmserver/server.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-21 18:02:15 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-21 18:02:15 -0500
commit08390bda6cc11917a625253a98e48da9b0aac8e6 (patch)
tree1eb1a63da7a0b43619576ff850c2331552f01461 /ksmserver/server.h
parent1eb5bc816598318458e3a6459663af103a46094b (diff)
downloadtdebase-08390bda6cc11917a625253a98e48da9b0aac8e6.tar.gz
tdebase-08390bda6cc11917a625253a98e48da9b0aac8e6.zip
Allow the user to manually abort a stalled SaveYourself process
This partially resolves Bug 760
Diffstat (limited to 'ksmserver/server.h')
-rw-r--r--ksmserver/server.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ksmserver/server.h b/ksmserver/server.h
index f850c747c..5dd97ba7c 100644
--- a/ksmserver/server.h
+++ b/ksmserver/server.h
@@ -109,6 +109,7 @@ private slots:
void restoreSessionInternal();
void restoreSessionDoneInternal();
+ void notificationTimeout();
void protectionTimeout();
void timeoutQuit();
void timeoutWMQuit();
@@ -123,6 +124,9 @@ private slots:
void tryRestoreNext();
void startupSuspendTimeout();
+ void cancelShutdown();
+ void forceSkipSaveYourself();
+
private:
void handlePendingInteractions();
void completeShutdownOrCheckpoint();
@@ -131,6 +135,7 @@ private:
void completeKilling();
void killWM();
void completeKillingWM();
+ void cancelShutdown( TQString cancellationText );
void cancelShutdown( KSMClient* c );
void killingCompleted();
@@ -139,6 +144,7 @@ private:
void startProtection();
void endProtection();
+ void handleProtectionTimeout();
void startApplication( TQStringList command,
const TQString& clientMachine = TQString::null,
@@ -214,6 +220,7 @@ private:
TQString sessionName;
TQCString launcher;
TQTimer protectionTimer;
+ TQTimer notificationTimer;
TQTimer restoreTimer;
TQTimer shutdownTimer;
TQString xonCommand;