Controlling of the application exit from a plugin

Andras Mantia amantia at kde.org
Thu May 19 13:26:06 UTC 2005


Hi,

 Is it possible to get a signal when the application is about to exit so 
the plugin can clean up itself (eg save data) and in case the user 
cancels the saving of the data, the whole application exit is 
cancelled?
 I mean something like KMainWindow::queryClose(), but in a plugin.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20050519/c609f7ad/attachment.sig>


More information about the KDevelop-devel mailing list