Hi,
you can use the slot from BaseInterface "slotAllCleared()"( http://openflipper.org/Daily-Builds/Doc/Free/Developer/a00314.html#aa00a3111da5d92c9d001a0a8272c5a91 )
for reciving the signal.
The slot can be defined in your plugin and will be executed whenever a "clear all" action was performed via GUI or via script or in a plugin.

Greets,
Matthias M.

Von: openflipper-bounces@lists.rwth-aachen.de [openflipper-bounces@lists.rwth-aachen.de]" im Auftrag von "Juliette Pera [juliette.pera@gmail.com]
Gesendet: Donnerstag, 16. April 2015 12:44
An: openflipper@lists.rwth-aachen.de
Betreff: [Openflipper] re-initialize plugin when user click on Clear all

Hi,

I would like to integrate in my plugin a function that will reinitialize my plugin whenever the user click on "Clear all".
Should I connect directly a function that I create to this action button? 
If anyone already did it, I would really appreciate some help!

Thank you,
Juliette