aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/LPPlugin.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-15 13:43:09 -0400
committerKen Moore <ken@pcbsd.org>2015-04-15 13:43:09 -0400
commit9b6800e8acc5dc802f8bd5e31b1892914b568f6e (patch)
tree9d27d1f66cdf5ab67279803ce249ad15ae8d52cf /lumina-desktop/panel-plugins/LPPlugin.h
parentDon't add the "LUMINA" tag to the name of Lumina-specific applications. (diff)
downloadlumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.tar.gz
lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.tar.bz2
lumina-9b6800e8acc5dc802f8bd5e31b1892914b568f6e.zip
Clean up a *lot* of the general XCB warnings that sometimes occur, and also tinker with the session cleanup routine quite a bit to streamline the order in which things are closed down (particularly with system tray apps).
Diffstat (limited to 'lumina-desktop/panel-plugins/LPPlugin.h')
-rw-r--r--lumina-desktop/panel-plugins/LPPlugin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lumina-desktop/panel-plugins/LPPlugin.h b/lumina-desktop/panel-plugins/LPPlugin.h
index dc1c490e..dd869bf6 100644
--- a/lumina-desktop/panel-plugins/LPPlugin.h
+++ b/lumina-desktop/panel-plugins/LPPlugin.h
@@ -46,6 +46,11 @@ public:
QString type(){
return plugintype;
}
+
+ virtual void AboutToClose(){
+ //This needs to be re-implemented in the subclasses plugin
+ //This is for any last-minute cleanup before the plugin gets deleted
+ }
public slots:
virtual void LocaleChange(){
@@ -61,9 +66,6 @@ public slots:
//This is where any horizontal/vertical orientations can be changed appropriately
}
- /*virtual void ResetMouseFocus(){
- //
- }*/
};
#endif \ No newline at end of file
bgstack15