eric6.Utilities.AutoSaver
Module implementing an auto saver class.
Global Attributes
Classes
Functions
AutoSaver
Class implementing the auto saver.
Derived from
QObject
Class Attributes
Class Methods
Methods
Static Methods
AutoSaver (Constructor)
AutoSaver(parent, save)
Constructor
- parent
-
reference to the parent object (QObject)
- save
-
slot to be called to perform the save operation
- Raises RuntimeError:
-
raised, if no parent is given
AutoSaver.changeOccurred
changeOccurred()
Public slot handling a change.
AutoSaver.saveIfNeccessary
saveIfNeccessary()
Public method to activate the save operation.
AutoSaver.timerEvent
timerEvent(evt)
Protected method handling timer events.
- evt
-
reference to the timer event (QTimerEvent)