diff options
author | Ken Moore <moorekou@gmail.com> | 2015-08-20 17:06:02 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-08-20 17:06:02 -0400 |
commit | dc3b0bcf558fef9f8e3f67d1a71df9a72d8a6c99 (patch) | |
tree | 81985cec66e7076397634da89bacf184eed41446 /lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h | |
parent | Another checkpoint in the lumina-fm backend overhaul - still not tied into th... (diff) | |
download | lumina-dc3b0bcf558fef9f8e3f67d1a71df9a72d8a6c99.tar.gz lumina-dc3b0bcf558fef9f8e3f67d1a71df9a72d8a6c99.tar.bz2 lumina-dc3b0bcf558fef9f8e3f67d1a71df9a72d8a6c99.zip |
Add an additional option to desktop plugins where additional cleanup routines may be added (only used for some applaunchers right now). This now makes a desktop icon which was explicitly closed/removed by the user also delete the file from the desktop folder (instead of having that plugin get re-created at a later time)
Diffstat (limited to 'lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h')
-rw-r--r-- | lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h b/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h index 9eefebf1..796d8f04 100644 --- a/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h +++ b/lumina-desktop/desktop-plugins/applauncher/AppLauncherPlugin.h @@ -28,7 +28,9 @@ class AppLauncherPlugin : public LDPlugin{ public: AppLauncherPlugin(QWidget* parent, QString ID); ~AppLauncherPlugin(){} - + + void Cleanup(); //special function for final cleanup + private: QToolButton *button; QFileSystemWatcher *watcher; |