Utilities/AutoSaver.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
21 """ 21 """
22 Constructor 22 Constructor
23 23
24 @param parent reference to the parent object (QObject) 24 @param parent reference to the parent object (QObject)
25 @param save slot to be called to perform the save operation 25 @param save slot to be called to perform the save operation
26 @exception RuntimeError raised, if no parent is given
26 """ 27 """
27 super().__init__(parent) 28 super().__init__(parent)
28 29
29 if parent is None: 30 if parent is None:
30 raise RuntimeError("AutoSaver: parent must not be None.") 31 raise RuntimeError("AutoSaver: parent must not be None.")

eric ide

mercurial