E5Gui/E5Application.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Class implementing a specialized application class. 7 Class implementing a specialized application class.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import QCoreApplication 12 from PyQt4.QtCore import QCoreApplication
11 from PyQt4.QtGui import QApplication 13 from PyQt4.QtGui import QApplication
12 14
13 15
19 """ 21 """
20 Constructor 22 Constructor
21 23
22 @param argv command line arguments 24 @param argv command line arguments
23 """ 25 """
24 super().__init__(argv) 26 super(E5Application, self).__init__(argv)
25 27
26 self.__objectRegistry = {} 28 self.__objectRegistry = {}
27 self.__pluginObjectRegistry = {} 29 self.__pluginObjectRegistry = {}
28 30
29 def registerObject(self, name, object): 31 def registerObject(self, name, object):

eric ide

mercurial