Utilities/AutoSaver.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2965
d133c7edd88a
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
23 """ 23 """
24 Constructor 24 Constructor
25 25
26 @param parent reference to the parent object (QObject) 26 @param parent reference to the parent object (QObject)
27 @param save slot to be called to perform the save operation 27 @param save slot to be called to perform the save operation
28 @exception RuntimeError raised, if no parent is given
28 """ 29 """
29 super(AutoSaver, self).__init__(parent) 30 super(AutoSaver, self).__init__(parent)
30 31
31 if parent is None: 32 if parent is None:
32 raise RuntimeError("AutoSaver: parent must not be None.") 33 raise RuntimeError("AutoSaver: parent must not be None.")

eric ide

mercurial