summaryrefslogtreecommitdiffstats
path: root/twin/client.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-20 13:57:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-20 13:57:39 -0600
commit98ead41b56d43b01c980a017949d351581769d29 (patch)
treee3b0326666fb1d434fa315cb16aa19a6771daaf3 /twin/client.h
parentd160a6fc0101dd094195f8d0782e8aefcf94d376 (diff)
downloadtdebase-98ead41b56d43b01c980a017949d351581769d29.tar.gz
tdebase-98ead41b56d43b01c980a017949d351581769d29.zip
Add suspend/resume support for twin managed applications
Diffstat (limited to 'twin/client.h')
-rw-r--r--twin/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/twin/client.h b/twin/client.h
index 813431065..c5365b578 100644
--- a/twin/client.h
+++ b/twin/client.h
@@ -302,6 +302,7 @@ class Client : public TQObject, public KDecorationDefines
void killWindow();
void suspendWindow();
void resumeWindow();
+ bool queryUserSuspendedResume();
void maximize( MaximizeMode );
void toggleShade();
void showContextHelp();
@@ -383,6 +384,7 @@ class Client : public TQObject, public KDecorationDefines
private slots:
void pingTimeout();
void processKillerExited();
+ void processResumerExited();
void demandAttentionKNotify();
void drawShadow();
void drawShadowAfter(Client *after);
@@ -560,6 +562,7 @@ class Client : public TQObject, public KDecorationDefines
Layer in_layer;
TQTimer* ping_timer;
KProcess* process_killer;
+ KProcess* process_resumer;
Time ping_timestamp;
Time user_time;
unsigned long allowed_actions;
@@ -598,6 +601,7 @@ class Client : public TQObject, public KDecorationDefines
TQTimer* demandAttentionKNotifyTimer;
friend bool performTransiencyCheck();
+ bool minimized_before_suspend;
};
// helper for Client::postponeGeometryUpdates() being called in pairs (true/false)